X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26607f41ae9c6e8d805167e039ddf64eacee55a8..dcb39c53303d1ec6884f7bcd7bc9dc101e560e62:/contrib/utils/wxrcedit/pe_adv.h?ds=sidebyside diff --git a/contrib/utils/wxrcedit/pe_adv.h b/contrib/utils/wxrcedit/pe_adv.h index b72c569a02..6115554d16 100644 --- a/contrib/utils/wxrcedit/pe_adv.h +++ b/contrib/utils/wxrcedit/pe_adv.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "pe_adv.h" #endif @@ -25,7 +25,7 @@ class PropEditCtrlFont : public PropEditCtrlTxt public: PropEditCtrlFont(PropertiesFrame *propFrame) : PropEditCtrlTxt(propFrame) {} - + virtual wxWindow* CreateEditCtrl(); virtual wxTreeItemId CreateTreeEntry(wxTreeItemId parent, const PropertyInfo& pinfo); }; @@ -37,12 +37,12 @@ class PropEditCtrlChoice : public PropEditCtrl public: PropEditCtrlChoice(PropertiesFrame *propFrame) : PropEditCtrl(propFrame) {} - + virtual wxWindow* CreateEditCtrl(); - + virtual void ReadValue(); virtual void WriteValue(); - + protected: wxChoice *m_Choice; @@ -57,7 +57,7 @@ class PropEditCtrlColor : public PropEditCtrlTxt PropEditCtrlColor(PropertiesFrame *propFrame) : PropEditCtrlTxt(propFrame) {} - virtual bool HasDetails() { return TRUE; } + virtual bool HasDetails() { return true; } virtual void OnDetails(); }; @@ -70,7 +70,7 @@ class PropEditCtrlFlags : public PropEditCtrlTxt PropEditCtrlFlags(PropertiesFrame *propFrame) : PropEditCtrlTxt(propFrame) {} - virtual bool HasDetails() { return TRUE; } + virtual bool HasDetails() { return true; } virtual void OnDetails(); }; @@ -82,9 +82,9 @@ class PropEditCtrlFile : public PropEditCtrlTxt PropEditCtrlFile(PropertiesFrame *propFrame) : PropEditCtrlTxt(propFrame) {} - virtual bool HasDetails() { return TRUE; } + virtual bool HasDetails() { return true; } virtual void OnDetails(); - + virtual wxString GetFileTypes(); };