- wxCheckBox(void);
- inline wxCheckBox( wxWindow *parent, wxWindowID id, const wxString& 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);
- }
- bool Create( wxWindow *parent, wxWindowID id, const wxString& label,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxCheckBoxNameStr );
- void SetValue( bool state );
- bool GetValue(void) const;
- void SetFont( const wxFont &font );
- void Enable( bool enable );
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+#ifdef __WXGTK20__
+ void DoSet3StateValue(wxCheckBoxState state);
+ wxCheckBoxState DoGet3StateValue() const;
+#endif
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxCheckBox)