X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74cc3ec18e117a6ea6bc1c23a9b70ff960f4c0ae..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/osx/core/colour.h diff --git a/include/wx/osx/core/colour.h b/include/wx/osx/core/colour.h index 3c6674c589..1cf694140c 100644 --- a/include/wx/osx/core/colour.h +++ b/include/wx/osx/core/colour.h @@ -30,7 +30,7 @@ public: // default copy ctor and dtor are ok // accessors - virtual bool IsOk() const { return m_cgColour; } + virtual bool IsOk() const { return m_cgColour != NULL; } virtual WXDLLIMPEXP_INLINE_CORE ChannelType Red() const { return m_red; } virtual WXDLLIMPEXP_INLINE_CORE ChannelType Green() const { return m_green; }