X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2b9ae5f7fdabc38a9814b5a1a8d16932a610024..434e29032fdbff103182aa97bb66af48332f9dc8:/include/wx/msw/colour.h 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: