- DECLARE_DYNAMIC_CLASS(wxBoolListValidator)
- protected:
- public:
- wxBoolListValidator(long flags = 0):wxPropertyListValidator(flags)
- {
- }
- ~wxBoolListValidator(void) {}
-
- bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
- bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
- bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
-
- // Called when TICK is pressed or focus is lost.
- // Return FALSE if value didn't check out; signal to restore old value.
- bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
-
- // Called when TICK is pressed or focus is lost or view wants to update
- // the property list.
- // Does the transfer from the property editing area to the property itself
- bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
- bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
-
- // Called when the property is double clicked. Extra functionality can be provided,
- // cycling through possible values.
- virtual bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+public:
+ wxBoolListValidator(long flags = 0):wxPropertyListValidator(flags) {}
+ ~wxBoolListValidator() {}
+
+ bool OnPrepareControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+ bool OnPrepareDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+ bool OnClearDetailControls(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+
+ // Called when TICK is pressed or focus is lost.
+ // Return FALSE if value didn't check out; signal to restore old value.
+ bool OnCheckValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+
+ // Called when TICK is pressed or focus is lost or view wants to update
+ // the property list.
+ // Does the transfer from the property editing area to the property itself
+ bool OnRetrieveValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+ bool OnDisplayValue(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+
+ // Called when the property is double clicked. Extra functionality can be provided,
+ // cycling through possible values.
+ virtual bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxBoolListValidator)