X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..4264606eedb18f626e864020082d8dde8d055eea:/include/wx/gtk/tglbtn.h diff --git a/include/wx/gtk/tglbtn.h b/include/wx/gtk/tglbtn.h index 0c542ac0c9..3b205fde28 100644 --- a/include/wx/gtk/tglbtn.h +++ b/include/wx/gtk/tglbtn.h @@ -19,8 +19,8 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxToggleButton; -class WXDLLIMPEXP_CORE wxToggleBitmapButton; +class WXDLLIMPEXP_FWD_CORE wxToggleButton; +class WXDLLIMPEXP_FWD_CORE wxToggleBitmapButton; //----------------------------------------------------------------------------- // global data @@ -75,13 +75,11 @@ public: wxBitmap m_bitmap; void OnSetBitmap(); - bool IsOwnGtkWindow(GdkWindow *window); - - virtual void OnInternalIdle(); protected: - void DoApplyWidgetStyle(GtkRcStyle *style); virtual wxSize DoGetBestSize() const; + virtual void DoApplyWidgetStyle(GtkRcStyle *style); + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; private: DECLARE_DYNAMIC_CLASS(wxToggleBitmapButton) @@ -131,13 +129,10 @@ public: // implementation bool m_blockEvent; - bool IsOwnGtkWindow(GdkWindow *window); - - virtual void OnInternalIdle(); - protected: - void DoApplyWidgetStyle(GtkRcStyle *style); virtual wxSize DoGetBestSize() const; + virtual void DoApplyWidgetStyle(GtkRcStyle *style); + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; private: DECLARE_DYNAMIC_CLASS(wxToggleButton)