X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c131a5ad27be67aa6d859ee31024dac9885a753..2b01fd49183b64be59c4e7ba9bdaee479ff29ed2:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index c14e0d836e..44b7940a8e 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -156,6 +156,13 @@ public: virtual bool IsOwnGtkWindow( GdkWindow *window ); void ConnectWidget( GtkWidget *widget ); + // Override GTKWidgetNeedsMnemonic and return true if your + // needs to set its mnemonic widget, such as for a + // GtkLabel for wxStaticText, then do the actual + // setting of the widget inside GTKWidgetDoSetMnemonic + virtual bool GTKWidgetNeedsMnemonic() const; + virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); + // Returns the default context which usually is anti-aliased PangoContext *GtkGetPangoDefaultContext();