]> git.saurik.com Git - wxWidgets.git/commitdiff
use gtk_expander_new_with_mnemonic() instead of just gtk_expander_new()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Oct 2006 23:13:31 +0000 (23:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Oct 2006 23:13:31 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/collpane.cpp

index ced9096279025a843cdccfca0a17ca91827f3475..24f0215b2d4fb35b56febd851081d857cccc9a68 100644 (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