]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
don't strip &s from tooltips (patch 1488318)
[wxWidgets.git] / src / gtk / stattext.cpp
index 1befdd1c898c6d659d13befb5a75f7febfb80db6..2641ea02f33db4b7a9c41169d89db99d8dc0c86d 100644 (file)
@@ -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))