]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/winprop.h
Reverted wxString members to const wxChar * for struct BugsGridData
[wxWidgets.git] / utils / dialoged / src / winprop.h
index 197963d61aec3801d73de352116b35bedf29e29d..27d1ea5a6192944b256ee6cfee5bb1c1789b8af8 100644 (file)
@@ -29,6 +29,8 @@ public:
         long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame");
     ~wxDialogEditorPropertyListFrame();
 
+    wxPropertyInfo* GetInfo() const { return m_propInfo; }
+
 private:
     wxPropertySheet*            m_propSheet;
     wxPropertyValidatorRegistry m_registry;
@@ -72,6 +74,7 @@ class wxPropertyInfo: public wxObject
   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
@@ -99,6 +102,9 @@ class wxWindowPropertyInfo: public wxPropertyInfo
   // 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;