X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..13bcc348811641ec19d2b378777c5edcf1b205a2:/include/wx/msw/gdiobj.h diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 494552d0d5..3d3d1b9209 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -36,15 +36,15 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData class WXDLLEXPORT wxGDIObject : public wxObject { public: - wxGDIObject(); + 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 +55,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)