X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac0c857aaa9b48724ed973a3fd28cdf7afaee530..fb3ed106d1c935e66d715774b03bcd9680e54828:/src/gtk/mdi.cpp diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index 958a372944..999be74c6e 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -18,6 +18,7 @@ #include "wx/dialog.h" #include "wx/menu.h" #include "wx/intl.h" +#include "wx/gtk/private.h" #include #include @@ -399,7 +400,7 @@ void wxMDIChildFrame::SetTitle( const wxString &title ) wxMDIParentFrame* parent = (wxMDIParentFrame*) GetParent(); GtkNotebook* notebook = GTK_NOTEBOOK(parent->m_widget); - gtk_notebook_set_tab_label_text(notebook, m_widget, title.mbc_str()); + gtk_notebook_set_tab_label_text(notebook, m_widget, wxGTK_CONV( title ) ); } //-----------------------------------------------------------------------------