- // Get/set the value
- void SetValue(bool state);
- bool GetValue() const;
-
- // Set the label
- void SetLabel(const wxString& label);
- bool Enable(bool enable = TRUE);
-
-
- // implementation
- bool m_blockEvent;
-
- void ApplyWidgetStyle();
- 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); }