Convert mnemonics in wx format to the one used by GTK+, just as we already do
in the ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65347
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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!