-public:
- int checkWidth ;
- int checkHeight ;
-
- wxBitmapCheckBox() { checkWidth = -1; checkHeight = -1; }
- wxBitmapCheckBox(wxWindow *parent, wxWindowID id, const wxBitmap *label,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxCheckBoxNameStr)
- {
- Create(parent, id, label, pos, size, style, validator, name);
- }
+ // make the checkbox owner drawn or reset it to normal style
+ void MakeOwnerDrawn(bool ownerDrawn);