X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b6a582bef796b43ad4cf0a96bd40bfd631460c6..9df05aab59ad8ff0e3cf5556e8273c72c0fc5203:/src/gtk1/notebook.cpp?ds=sidebyside diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index 1b953423e0..22e96ee172 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -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" );