X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e630b0f0249c80d96c59c6f05bf1cfb24da4885e..ada175836e7b9e456b7f32d82bfb5f6b21d5608d:/include/wx/osx/core/colour.h diff --git a/include/wx/osx/core/colour.h b/include/wx/osx/core/colour.h index 582d36ec3e..1cf694140c 100644 --- a/include/wx/osx/core/colour.h +++ b/include/wx/osx/core/colour.h @@ -30,12 +30,12 @@ public: // default copy ctor and dtor are ok // accessors - virtual bool IsOk() const { return m_cgColour; } + virtual bool IsOk() const { return m_cgColour != NULL; } - ChannelType Red() const { return m_red; } - ChannelType Green() const { return m_green; } - ChannelType Blue() const { return m_blue; } - ChannelType Alpha() const { return m_alpha; } + virtual WXDLLIMPEXP_INLINE_CORE ChannelType Red() const { return m_red; } + virtual WXDLLIMPEXP_INLINE_CORE ChannelType Green() const { return m_green; } + virtual WXDLLIMPEXP_INLINE_CORE ChannelType Blue() const { return m_blue; } + virtual WXDLLIMPEXP_INLINE_CORE ChannelType Alpha() const { return m_alpha; } // comparison bool operator == (const wxColour& colour) const;