]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/pe_basic.h
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / contrib / utils / wxrcedit / pe_basic.h
index f646125c1e8be627526bbc482ae8b334a53c9350..5dff7dde762a97b573d0a48d9fa9cc0455834c79 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "pe_basic.h"
 #endif
 
@@ -26,7 +26,7 @@ class PropEditCtrlNull : public PropEditCtrl
         PropEditCtrlNull(PropertiesFrame *propFrame)
            : PropEditCtrl(propFrame) {}
                 
-        virtual void BeginEdit(const wxRect& rect, wxTreeItemId ti) {}
+        virtual void BeginEdit(const wxRect& WXUNUSED(rect), wxTreeItemId WXUNUSED(ti)) {}
         virtual void EndEdit() {}
                 
         virtual wxWindow* CreateEditCtrl() {return NULL;}
@@ -116,10 +116,10 @@ class PropEditCtrlDim : public PropEditCtrlTxt
 
 
 
-class PropEditCtrlXMLID : public PropEditCtrlTxt
+class PropEditCtrlXRCID : public PropEditCtrlTxt
 {
     public:
-        PropEditCtrlXMLID(PropertiesFrame *propFrame)
+        PropEditCtrlXRCID(PropertiesFrame *propFrame)
            : PropEditCtrlTxt(propFrame) {}
                 
         virtual void ReadValue();