]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGTK1 compilation fixes after last changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 13:29:52 +0000 (13:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 13:29:52 +0000 (13:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk1/notebook.cpp
src/gtk1/window.cpp

index 1b953423e0d5ad15fa560d2d848ecda69465f196..22e96ee172bf80a81f288a56b39b671f628feafb 100644 (file)
@@ -433,7 +433,7 @@ int wxNotebook::DoSetSelection( size_t page, int flags )
     // gtk_notebook_set_current_page is supposed to emit the switch-page signal
     // which should be caught by our gtk_notebook_page_change_callback which
     // should have reset the flag to false, check it:
-    wxASSERT_LEVEL_2(
+    wxASSERT_LEVEL_2_MSG(
         (flags & SetSelection_SendEvent) || !m_skipNextPageChangeEvent,
         "internal error in selection events generation"
     );
index 87a178d91e1d2fb938d90bcc85e072b286e2dedf..a670cf909941cf84ca67f75bd20fe64a91a29e0c 100644 (file)
@@ -239,7 +239,7 @@ extern bool g_mainThreadLocked;
 #if wxUSE_THREADS
 #   define DEBUG_MAIN_THREAD \
         wxASSERT_MSG( !g_mainThreadLocked || !wxThread::IsMain(), \
-                      "GUI reentrancy detected" )
+                      "GUI reentrancy detected" );
 #else
 #   define DEBUG_MAIN_THREAD
 #endif