- inline wxCheckBox() { }
- 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);
- }
+ inline wxCheckBox() { }
+ inline wxCheckBox( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxString& rsLabel
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,long lStyle = 0
+#if wxUSE_VALIDATORS
+ ,const wxValidator& rValidator = wxDefaultValidator
+#endif
+ ,const wxString& rsName = wxCheckBoxNameStr
+ )
+ {
+ Create( pParent
+ ,vId
+ ,rsLabel
+ ,rPos
+ ,rSize
+ ,lStyle
+#if wxUSE_VALIDATORS
+ ,rValidator
+#endif
+ ,rsName
+ );
+ }
+
+ bool Create( wxWindow* pParent
+ ,wxWindowID vId
+ ,const wxString& rsLabel
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,long lStyle = 0
+#if wxUSE_VALIDATORS
+ ,const wxValidator& rValidator = wxDefaultValidator
+#endif
+ ,const wxString& rsName = wxCheckBoxNameStr
+ );
+
+ virtual void SetValue(bool bValue);
+ virtual bool GetValue(void) const ;