X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61775320c5f2e71df6b9dfe525c40dce23fbcfe7..e0aeebed0a3003f455e2bd7e962143faa1dde4c8:/utils/configtool/src/configtooldoc.h?ds=sidebyside diff --git a/utils/configtool/src/configtooldoc.h b/utils/configtool/src/configtooldoc.h index f5b036e108..9a24ff694a 100644 --- a/utils/configtool/src/configtooldoc.h +++ b/utils/configtool/src/configtooldoc.h @@ -12,7 +12,7 @@ #ifndef _CT_CONFIGTOOLDOC_H_ #define _CT_CONFIGTOOLDOC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "configtooldoc.cpp" #endif @@ -39,9 +39,9 @@ public: virtual bool OnCreate(const wxString& path, long flags); virtual bool OnOpenDocument(const wxString& filename); virtual bool OnSaveDocument(const wxString& filename); - virtual bool OnNewDocument() { return TRUE; } + virtual bool OnNewDocument() { return true; } virtual bool OnCloseDocument() ; - virtual bool Save(); // Overridden only to correct bug in wxWindows, docview.cpp + virtual bool Save(); // Overridden only to correct bug in wxWidgets, docview.cpp //// Accessors @@ -260,10 +260,10 @@ public: ctConfigCommand(const wxString& name, int cmdId, ctConfigItem* activeState, ctConfigItem* savedState, ctConfigItem* parent = NULL, ctConfigItem* insertBefore = NULL, - bool ignoreFirstTime = FALSE); + bool ignoreFirstTime = false); ctConfigCommand(const wxString& name, int cmdId, ctConfigItem* activeState, ctProperties* properties, - bool ignoreFirstTime = FALSE); + bool ignoreFirstTime = false); ~ctConfigCommand(); bool Do();