X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2b9ae5f7fdabc38a9814b5a1a8d16932a610024..df18cc7aa1afdbe74d4b8e398d12ef34d1e78b5c:/include/wx/msw/colour.h?ds=sidebyside diff --git a/include/wx/msw/colour.h b/include/wx/msw/colour.h index c2e259ef45..c3854f50b8 100644 --- a/include/wx/msw/colour.h +++ b/include/wx/msw/colour.h @@ -36,7 +36,8 @@ public: // accessors // --------- - bool Ok() const { return m_isInit; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_isInit; } unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; } @@ -55,7 +56,7 @@ public: bool operator != (const wxColour& colour) const { return !(*this == colour); } - WXCOLORREF GetPixel() const { return m_pixel; }; + WXCOLORREF GetPixel() const { return m_pixel; } public: