]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
Don't scroll the grid when starting a cell editor if it will already
[wxWidgets.git] / src / gtk / toplevel.cpp
index 627bc9e3de31e9cc8502418f3bd2b499340ccbdd..597c2a224a64b365103f01589c61ded0643701c2 100644 (file)
 #endif
 
 #include "wx/toplevel.h"
-#include "wx/log.h"
-#include "wx/dialog.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/dcclient.h"
+    #include "wx/dialog.h"
+#endif
+
 #include "wx/control.h"
-#include "wx/app.h"
-#include "wx/dcclient.h"
 #include "wx/gtk/private.h"
 #include "wx/timer.h"
 #include "wx/settings.h"
@@ -672,7 +676,7 @@ wxTopLevelWindowGTK::~wxTopLevelWindowGTK()
 {
     if (m_grabbed)
     {
-        wxASSERT_MSG( false, _T("Window still grabbed"));
+        wxFAIL_MSG(_T("Window still grabbed"));
         RemoveGrab();
     }