X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7463f75f9c170c29b4965d27dccf535ac32cfde..e0aeebed0a3003f455e2bd7e962143faa1dde4c8:/utils/configtool/src/configitem.h diff --git a/utils/configtool/src/configitem.h b/utils/configtool/src/configitem.h index 8ebba6932b..681c54a469 100644 --- a/utils/configtool/src/configitem.h +++ b/utils/configtool/src/configitem.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: configitem.h -// Purpose: wxWindows Configuration Tool config item class +// Purpose: wxWidgets Configuration Tool config item class // Author: Julian Smart // Modified by: // Created: 2003-06-03 @@ -12,7 +12,7 @@ #ifndef _CT_CONFIGITEM_H_ #define _CT_CONFIGITEM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "configitem.cpp" #endif @@ -179,19 +179,19 @@ public: bool IsModified() const { return m_modified; } /// Mark this as modified. - void Modify(bool modified = TRUE) { m_modified = modified; } + void Modify(bool modified = true) { m_modified = modified; } /// Is this item enabled? (checked/unchecked) bool IsEnabled() const { return m_enabled; } /// Enable or disable (check/uncheck) - void Enable(bool enable = TRUE) { m_enabled = enable; } + void Enable(bool enable = true) { m_enabled = enable; } /// Is this item active? (sensitive to user input) bool IsActive() const { return m_active; } /// Make this (in)active - void SetActive(bool active = TRUE) { m_active = active; } + void SetActive(bool active = true) { m_active = active; } /// Set the type void SetType(ctConfigType type) { m_type = type; }