X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f5dc9aad36e84212fd43519df67b814337ab051..a5655d37db9baabce654849fd66173f95f74e230:/src/gtk/collpane.cpp?ds=inline diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index 6696d21c01..754de047c4 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -249,7 +249,8 @@ bool wxCollapsiblePane::IsCollapsed() const void wxCollapsiblePane::SetLabel(const wxString &str) { - gtk_expander_set_label(GTK_EXPANDER(m_widget), wxGTK_CONV(str)); + gtk_expander_set_label(GTK_EXPANDER(m_widget), + wxGTK_CONV(GTKConvertMnemonics(str))); // FIXME: we need to update our collapsed width in some way but using GetBestSize() // we may get the size of the control with the pane size summed up if we are expanded!