X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f85606724061367d0d5ab79444990e36b0acfa6..3692b33c7f1d4f86c3e5333954c454b15c20b4d2:/include/wx/gtk/tglbtn.h diff --git a/include/wx/gtk/tglbtn.h b/include/wx/gtk/tglbtn.h index 9d66c44797..06f317f52b 100644 --- a/include/wx/gtk/tglbtn.h +++ b/include/wx/gtk/tglbtn.h @@ -66,13 +66,15 @@ public: void SetLabel(const wxBitmap& label); bool Enable(bool enable = TRUE); - + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation bool m_blockEvent; wxBitmap m_bitmap; void OnSetBitmap(); - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); bool IsOwnGtkWindow(GdkWindow *window); virtual void OnInternalIdle(); @@ -81,6 +83,7 @@ public: private: DECLARE_DYNAMIC_CLASS(wxToggleBitmapButton) }; + //----------------------------------------------------------------------------- // wxToggleButton //----------------------------------------------------------------------------- @@ -119,11 +122,13 @@ public: void SetLabel(const wxString& label); bool Enable(bool enable = TRUE); + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); // implementation bool m_blockEvent; - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); bool IsOwnGtkWindow(GdkWindow *window); virtual void OnInternalIdle();