X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..259c43f679ca655362b5a439e11c87fc0666d663:/include/wx/msw/gdiobj.h diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 03dd0814fc..4be2edb8be 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -6,16 +6,12 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "gdiobj.h" -#endif - #include "wx/object.h" // base class // ---------------------------------------------------------------------------- @@ -36,15 +32,15 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData class WXDLLEXPORT wxGDIObject : public wxObject { public: - wxGDIObject() { m_visible = FALSE; }; + wxGDIObject() { m_visible = false; }; // Creates the resource - virtual bool RealizeResource() { return FALSE; }; + virtual bool RealizeResource() { return false; }; // Frees the resource - virtual bool FreeResource(bool WXUNUSED(force) = FALSE) { return FALSE; } + virtual bool FreeResource(bool WXUNUSED(force) = false) { return false; } - virtual bool IsFree() const { return FALSE; } + virtual bool IsFree() const { return false; } bool IsNull() const { return (m_refData == 0); } @@ -55,7 +51,7 @@ public: virtual void SetVisible(bool v) { m_visible = v; } protected: - bool m_visible; // TRUE only if we should delete this object ourselves + bool m_visible; // true only if we should delete this object ourselves private: DECLARE_DYNAMIC_CLASS(wxGDIObject)