X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..b597caaca8ade60aa8ef750c94df803bbd8ba422:/include/wx/motif/checkbox.h diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index 4f795aa843..6a159d5295 100644 --- a/include/wx/motif/checkbox.h +++ b/include/wx/motif/checkbox.h @@ -47,7 +47,7 @@ class WXDLLEXPORT wxCheckBox: public wxControl virtual void Command(wxCommandEvent& event); // Implementation - virtual void ChangeFont(); + virtual void ChangeFont(bool keepOriginalSize = TRUE); virtual void ChangeBackgroundColour(); virtual void ChangeForegroundColour(); }; @@ -75,9 +75,15 @@ class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxCheckBoxNameStr); + virtual void SetValue(bool); virtual bool GetValue() const ; + virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetLabel(const wxBitmap *bitmap); }; #endif