X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d44a933726cbc30112dd8561d9991d8aa2577a97..923d28da0eed674dfd7f4a497568ac14a29f0189:/src/gtk/stattext.cpp diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 1befdd1c89..2641ea02f3 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -166,6 +166,16 @@ bool wxStaticText::SetForegroundColour(const wxColour& colour) return true; } +bool wxStaticText::GTKWidgetNeedsMnemonic() const +{ + return true; +} + +void wxStaticText::GTKWidgetDoSetMnemonic(GtkWidget* w) +{ + gtk_label_set_mnemonic_widget(GTK_LABEL(m_widget), w); +} + // static wxVisualAttributes wxStaticText::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))