]> git.saurik.com Git - wxWidgets.git/commitdiff
gtk_assert_dialog_set_message is only defined if wxUSE_STACKWALKER is set
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 3 Jan 2013 15:19:01 +0000 (15:19 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 3 Jan 2013 15:19:01 +0000 (15:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsgtk.cpp

index c25b9faa0596110dd1f3bd66c99dbf3db7b358d5..a542d3066d124417577d60fadc43e0f7e3128bf2 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