use gtk_expander_new_with_mnemonic() instead of just gtk_expander_new()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-22 23:13:31 +00:00
parent 550d433e52
commit ff928a273c

View File

@@ -158,7 +158,8 @@ bool wxCollapsiblePane::Create(wxWindow *parent,
return false;
}
m_widget = gtk_expander_new(label.c_str());
m_widget =
gtk_expander_new_with_mnemonic(wxGTK_CONV(GTKConvertMnemonics(label)));
// see the gtk_collapsiblepane_expanded_callback comments to understand why
// we connect to the "notify::expanded" signal instead of the more common