- DECLARE_DYNAMIC_CLASS(wxPropertyView)
- public:
- wxPropertyView(long flags = 0);
- ~wxPropertyView(void);
-
- // Associates and shows the view
- virtual void ShowView(wxPropertySheet *WXUNUSED(propertySheet), wxWindow *WXUNUSED(panel)) {}
-
- // Update this view of the viewed object, called e.g. by
- // the object itself.
- virtual bool OnUpdateView(void) {return FALSE;};
-
- // Override this to do something as soon as the property changed,
- // if the view and validators support it.
- virtual void OnPropertyChanged(wxProperty *WXUNUSED(property)) {}
-
- virtual void AddRegistry(wxPropertyValidatorRegistry *registry);
- inline virtual wxList& GetRegistryList(void) const
- { return (wxList&) m_validatorRegistryList; }
-
- virtual wxPropertyValidator *FindPropertyValidator(wxProperty *property);
- inline virtual void SetPropertySheet(wxPropertySheet *sheet) { m_propertySheet = sheet; }
- inline virtual wxPropertySheet *GetPropertySheet(void) const { return m_propertySheet; }
-
-/*
- virtual void OnOk(void) {};
- virtual void OnCancel(void) {};
- virtual void OnHelp(void) {};
-*/
-
- inline virtual bool OnClose(void) { return FALSE; }
- inline long GetFlags(void) { return m_buttonFlags; }
-
- protected:
- long m_buttonFlags;
- wxPropertySheet* m_propertySheet;
- wxProperty* m_currentProperty;
- wxList m_validatorRegistryList;
- wxPropertyValidator* m_currentValidator;
+public:
+ wxPropertyView(long flags = 0);
+ ~wxPropertyView();
+
+ // Associates and shows the view
+ virtual void ShowView(wxPropertySheet *WXUNUSED(propertySheet), wxWindow *WXUNUSED(panel)) {}
+
+ // Update this view of the viewed object, called e.g. by
+ // the object itself.
+ virtual bool OnUpdateView() {return FALSE;};
+
+ // Override this to do something as soon as the property changed,
+ // if the view and validators support it.
+ virtual void OnPropertyChanged(wxProperty *WXUNUSED(property)) {}
+
+ virtual void AddRegistry(wxPropertyValidatorRegistry *registry);
+ inline virtual wxList& GetRegistryList() const
+ { return (wxList&) m_validatorRegistryList; }
+
+ virtual wxPropertyValidator *FindPropertyValidator(wxProperty *property);
+ inline virtual void SetPropertySheet(wxPropertySheet *sheet) { m_propertySheet = sheet; }
+ inline virtual wxPropertySheet *GetPropertySheet() const { return m_propertySheet; }
+
+ inline virtual bool OnClose() { return FALSE; }
+ inline long GetFlags(void) { return m_buttonFlags; }
+
+protected:
+ long m_buttonFlags;
+ wxPropertySheet* m_propertySheet;
+ wxProperty* m_currentProperty;
+ wxList m_validatorRegistryList;
+ wxPropertyValidator* m_currentValidator;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxPropertyView)