* InterfaceWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: InterfaceWindow.cpp,v 1.23 2003/01/27 10:29:21 titer Exp $
+ * $Id: InterfaceWindow.cpp,v 1.24 2003/01/28 08:17:26 titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
InterfaceWindow::~InterfaceWindow()
{
- if (fPlaylistWindow)
+ if( fPlaylistWindow )
fPlaylistWindow->ReallyQuit();
+ if( fMessagesWindow )
+ fMessagesWindow->ReallyQuit();
}
/*****************************************************************************
* MessagesWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: MessagesWindow.cpp,v 1.2 2003/01/26 08:28:20 titer Exp $
+ * $Id: MessagesWindow.cpp,v 1.3 2003/01/28 08:17:26 titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
*****************************************************************************/
void MessagesWindow::ReallyQuit()
{
+ Lock();
Hide();
Quit();
}