X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac0c857aaa9b48724ed973a3fd28cdf7afaee530..05159a2750ed2cc5945a85bc5fc6849ad1a30e75:/src/gtk1/mdi.cpp diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index 958a372944..999be74c6e 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/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 ) ); } //-----------------------------------------------------------------------------