- virtual void SetValue(bool value);
- virtual bool GetValue() const ;
-
- virtual void SetLabel(const wxString& label);
-
- virtual bool MSWCommand(WXUINT param, WXWORD id);
- virtual void Command(wxCommandEvent& event);
-
- // returns true if the platform should explicitly apply a theme border
- virtual bool CanApplyThemeBorder() const { return false; }
-
-protected:
- virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
- virtual wxSize DoGetBestSize() const;
-
- virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) 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); }