]> 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 877082cdc657d1ed3d910585800e948ee33b49cc..597c2a224a64b365103f01589c61ded0643701c2 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/dcclient.h"
+    #include "wx/dialog.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"
@@ -676,7 +676,7 @@ wxTopLevelWindowGTK::~wxTopLevelWindowGTK()
 {
     if (m_grabbed)
     {
-        wxASSERT_MSG( false, _T("Window still grabbed"));
+        wxFAIL_MSG(_T("Window still grabbed"));
         RemoveGrab();
     }