- if (GTK_FRAME(m_widget)->label_widget)
- {
- GtkRcStyle *style = CreateWidgetStyle(true);
- if ( style )
- {
- gtk_widget_modify_style( GTK_FRAME(m_widget)->label_widget, style);
- gtk_rc_style_unref(style);
- }
- }
+bool wxStaticBox::GTKWidgetNeedsMnemonic() const
+{
+ return true;
+}
+
+void wxStaticBox::GTKWidgetDoSetMnemonic(GtkWidget* w)
+{
+ GTKFrameSetMnemonicWidget(GTK_FRAME(m_widget), w);