X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..6c82a1fd8d02beb023b21d230b97ddce42962b02:/include/wx/motif/checkbox.h diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index a115d5befc..6a159d5295 100644 --- a/include/wx/motif/checkbox.h +++ b/include/wx/motif/checkbox.h @@ -44,9 +44,12 @@ class WXDLLEXPORT wxCheckBox: public wxControl 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 SetLabel(const wxString& label); virtual void Command(wxCommandEvent& event); + +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); }; class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox @@ -72,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