]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/propeditor.h
Removed rules for copying the Mac resource file since they are no
[wxWidgets.git] / utils / configtool / src / propeditor.h
index 5c20030688cf6886d9f0ec4499bc83aa8839866a..9268b6e203421f8b5a0df56d11ed23ab2583b722 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        propeditor.cpp
-// Purpose:     Property editor for wxWindows configuration tool
+// Purpose:     Property editor for wxWidgets configuration tool
 // Author:      Julian Smart
 // Modified by:
 // Created:     2003-06-03
@@ -12,7 +12,7 @@
 #ifndef _CT_PROPEDITOR_H_
 #define _CT_PROPEDITOR_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "propeditor.cpp"
 #endif
 
@@ -35,7 +35,7 @@ class ctPropertyEditor: public wxPanel
     DECLARE_CLASS(ctPropertyEditor)
   public:
     ctPropertyEditor(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
-    ~ctPropertyEditor();
+    ~ctPropertyEditor(){};
 
 // Event handlers
 
@@ -75,7 +75,7 @@ class ctPropertyEditor: public wxPanel
     void UpdateItem();
 
     /// Display attribute at given row
-    bool DisplayProperty(int row, ctProperty* prop, bool valueOnly = FALSE);
+    bool DisplayProperty(int row, ctProperty* prop, bool valueOnly = false);
 
     /// Display attribute value
     bool DisplayProperty(ctProperty* prop);
@@ -139,6 +139,8 @@ class ctPropertyEditor: public wxPanel
 DECLARE_EVENT_TABLE()
 
 protected:
+    // Dialog controls
+    wxButton*               m_attributeEditorEditDetails;
     ctPropertyEditorGrid*   m_attributeEditorGrid;
     wxHtmlWindow*           m_propertyDescriptionWindow;
     wxSplitterWindow*       m_splitterWindow;
@@ -214,7 +216,7 @@ public:
         const wxPoint& pos = wxDefaultPosition,
         const wxSize& size = wxDefaultSize,
         long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
-    
+
     bool AddControls(wxWindow* parent, const wxString& msg);
 
     wxString GetText() const { return m_text; }
@@ -229,7 +231,7 @@ private:
  * Special-purpose splitter window for changing sash look and
  * also saving sash width
  */
+
 class ctSplitterWindow: public wxSplitterWindow
 {
 public: