]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/collpane.cpp
Fix crash in wxMSW wxProgressDialog without wxPD_APP_MODAL style.
[wxWidgets.git] / src / gtk / collpane.cpp
index 6696d21c01323bb9c3d9e6f2a1b7db00aae8ad42..754de047c4c2be53aa8e33c61932d9076ff1001d 100644 (file)
@@ -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!