X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f85606724061367d0d5ab79444990e36b0acfa6..fe6cf1284497c450735cdeb76cc99de9b18beb5f:/include/wx/gtk1/tglbtn.h diff --git a/include/wx/gtk1/tglbtn.h b/include/wx/gtk1/tglbtn.h index 9d66c44797..3c5bc6c541 100644 --- a/include/wx/gtk1/tglbtn.h +++ b/include/wx/gtk1/tglbtn.h @@ -7,7 +7,7 @@ // Created: 08.02.01 // RCS-ID: $Id$ // Copyright: (c) 2000 Johnny C. Norris II -// License: Rocketeer license +// License: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_GTK_TOGGLEBUTTON_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();