X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..13199c3dcbb708f859aeae6b480459b7b9bb9a9d:/include/wx/gtk/tglbtn.h diff --git a/include/wx/gtk/tglbtn.h b/include/wx/gtk/tglbtn.h index 50d981942a..0c542ac0c9 100644 --- a/include/wx/gtk/tglbtn.h +++ b/include/wx/gtk/tglbtn.h @@ -75,10 +75,12 @@ public: wxBitmap m_bitmap; void OnSetBitmap(); - void DoApplyWidgetStyle(GtkRcStyle *style); bool IsOwnGtkWindow(GdkWindow *window); virtual void OnInternalIdle(); + +protected: + void DoApplyWidgetStyle(GtkRcStyle *style); virtual wxSize DoGetBestSize() const; private: @@ -129,10 +131,12 @@ public: // implementation bool m_blockEvent; - void DoApplyWidgetStyle(GtkRcStyle *style); bool IsOwnGtkWindow(GdkWindow *window); virtual void OnInternalIdle(); + +protected: + void DoApplyWidgetStyle(GtkRcStyle *style); virtual wxSize DoGetBestSize() const; private: