]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
Missing header.
[wxWidgets.git] / src / gtk / toplevel.cpp
index 877082cdc657d1ed3d910585800e948ee33b49cc..b425e1c1199743622dc3471cf32d1b4280551a8b 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/dcclient.h"
+    #include "wx/dialog.h"
+    #include "wx/timer.h"
+    #include "wx/settings.h"
+    #include "wx/control.h"
 #endif
 
-#include "wx/dialog.h"
-#include "wx/control.h"
-#include "wx/dcclient.h"
 #include "wx/gtk/private.h"
-#include "wx/timer.h"
-#include "wx/settings.h"
 #include "wx/evtloop.h"
 
 #include <glib.h>
@@ -54,8 +54,6 @@
 // data
 // ----------------------------------------------------------------------------
 
-extern wxList           wxPendingDelete;
-
 extern int              g_openDialogs;
 extern wxWindowGTK     *g_delayedFocus;
 
@@ -676,7 +674,7 @@ wxTopLevelWindowGTK::~wxTopLevelWindowGTK()
 {
     if (m_grabbed)
     {
-        wxASSERT_MSG( false, _T("Window still grabbed"));
+        wxFAIL_MSG(_T("Window still grabbed"));
         RemoveGrab();
     }