- // Get/set the value
- void SetValue(bool state);
- bool GetValue() const;
-
- // Set the label
- void SetLabel(const wxString& label);
- bool Enable(bool enable = TRUE);
-
- static wxVisualAttributes
- GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
-
- // implementation
- bool m_blockEvent;
-
- void DoApplyWidgetStyle(GtkRcStyle *style);
- bool IsOwnGtkWindow(GdkWindow *window);
-
- virtual void OnInternalIdle();
- virtual wxSize DoGetBestSize() const;
+ // deprecated synonym for SetBitmapLabel()
+ wxDEPRECATED_INLINE( void SetLabel(const wxBitmap& bitmap),
+ SetBitmapLabel(bitmap); )
+ // prevent virtual function hiding
+ virtual void SetLabel(const wxString& label) { wxToggleButton::SetLabel(label); }