From ff928a273cf1d1c8109c93060e8d2f21647eaa87 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Oct 2006 23:13:31 +0000 Subject: [PATCH] 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 --- src/gtk/collpane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp index ced9096279..24f0215b2d 100644 --- a/src/gtk/collpane.cpp +++ b/src/gtk/collpane.cpp @@ -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 -- 2.45.2