]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
[wxWidgets.git] / src / gtk / toplevel.cpp
index 904220c40be79ceedb2cc02f81b6fef050a14210..a28e6741a1e0d6232560127b980a51a8121c8e16 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/app.h"
 #endif
 
 #include "wx/dialog.h"
 #include "wx/control.h"
-#include "wx/app.h"
 #include "wx/dcclient.h"
 #include "wx/gtk/private.h"
 #include "wx/timer.h"
@@ -676,7 +676,7 @@ wxTopLevelWindowGTK::~wxTopLevelWindowGTK()
 {
     if (m_grabbed)
     {
-        wxASSERT_MSG( false, _T("Window still grabbed"));
+        wxFAIL_MSG(_T("Window still grabbed"));
         RemoveGrab();
     }