X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7485d88bb690a5ce638bd1cc39566dfa0f37ba..726cc8697cd44a41b43257f05ca8cdd42b71a711:/src/gtk/infobar.cpp diff --git a/src/gtk/infobar.cpp b/src/gtk/infobar.cpp index e386a95f96..f6ceee09db 100644 --- a/src/gtk/infobar.cpp +++ b/src/gtk/infobar.cpp @@ -209,9 +209,9 @@ GtkWidget *wxInfoBar::GTKAddButton(wxWindowID btnid, const wxString& label) GtkWidget *button = gtk_info_bar_add_button ( GTK_INFO_BAR(m_widget), - label.empty() + (label.empty() ? GTKConvertMnemonics(wxGetStockGtkID(btnid)) - : label, + : label).utf8_str(), btnid );