// classes
//-----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxToggleButton;
-class WXDLLIMPEXP_CORE wxToggleBitmapButton;
+class WXDLLIMPEXP_FWD_CORE wxToggleButton;
+class WXDLLIMPEXP_FWD_CORE wxToggleBitmapButton;
//-----------------------------------------------------------------------------
// global data
wxBitmap m_bitmap;
void OnSetBitmap();
- void DoApplyWidgetStyle(GtkRcStyle *style);
- bool IsOwnGtkWindow(GdkWindow *window);
- virtual void OnInternalIdle();
+protected:
virtual wxSize DoGetBestSize() const;
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+ virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
private:
DECLARE_DYNAMIC_CLASS(wxToggleBitmapButton)
// implementation
bool m_blockEvent;
- void DoApplyWidgetStyle(GtkRcStyle *style);
- bool IsOwnGtkWindow(GdkWindow *window);
-
- virtual void OnInternalIdle();
+protected:
virtual wxSize DoGetBestSize() const;
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+ virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
private:
DECLARE_DYNAMIC_CLASS(wxToggleButton)