]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/utilsgtk.cpp
Generate text events in generic wxSpinCtrl itself.
[wxWidgets.git] / src / gtk / utilsgtk.cpp
index f68fddcbf0e24ded25df7e90565204488367b80d..5ba11b4e02248064d89d5e489ca4efc1bfc52df0 100644 (file)
@@ -319,10 +319,12 @@ protected:
 
         // append this stack frame's info in the dialog
         if (!frame.GetFileName().empty() || !fncname.empty())
+        {
             gtk_assert_dialog_append_stack_frame(m_dlg,
-                                                fncname.mb_str(),
-                                                frame.GetFileName().mb_str(),
+                                                fncname.utf8_str(),
+                                                frame.GetFileName().utf8_str(),
                                                 frame.GetLine());
+        }
     }
 
 private:
@@ -333,7 +335,7 @@ static void get_stackframe_callback(void* p)
 {
     StackDump* dump = static_cast<StackDump*>(p);
     // skip over frames up to including wxOnAssert()
-    dump->ProcessFrames(3);
+    dump->ProcessFrames(7);
 }
 
 #endif // wxDEBUG_LEVEL && wxUSE_STACKWALKER