long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame");
~wxDialogEditorPropertyListFrame();
+ wxPropertyInfo* GetInfo() const { return m_propInfo; }
+
private:
wxPropertySheet* m_propSheet;
wxPropertyValidatorRegistry m_registry;
virtual bool SetProperty(wxString& propName, wxProperty *property) = 0;
virtual void GetPropertyNames(wxStringList& names) = 0;
virtual bool Edit(wxWindow *parent, const wxString& title);
+ static void CloseWindow(); // Close the current window if open.
};
// For all windows
// Set the window style
void SetWindowStyle(wxWindow* win, long style, bool set);
+ wxWindow* GetWindow() const { return m_propertyWindow; }
+ wxItemResource* GetResource() const { return m_propertyResource; }
+
protected:
wxWindow* m_propertyWindow;
wxItemResource* m_propertyResource;