]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/utilsgtk.cpp
Move menu messages handling from wxFrame to wxTLW in wxMSW.
[wxWidgets.git] / src / gtk / utilsgtk.cpp
index a542d3066d124417577d60fadc43e0f7e3128bf2..c25b9faa0596110dd1f3bd66c99dbf3db7b358d5 100644 (file)
@@ -334,9 +334,9 @@ bool wxGUIAppTraits::ShowAssertDialog(const wxString& msg)
         // wxWidgets idle processing to work correctly which might not be the
         // case when assert happens
         GtkWidget *dialog = gtk_assert_dialog_new();
-#if wxUSE_STACKWALKER
         gtk_assert_dialog_set_message(GTK_ASSERT_DIALOG(dialog), msg.mb_str());
 
+#if wxUSE_STACKWALKER
         // save the current stack ow...
         StackDump dump(GTK_ASSERT_DIALOG(dialog));
         dump.SaveStack(100); // showing more than 100 frames is not very useful