X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ef6890f0bbda544c510be1bd81c990a480a3ef3..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/cocoa/colour.h?ds=inline diff --git a/include/wx/cocoa/colour.h b/include/wx/cocoa/colour.h index b2bc5796f1..3209d94f0c 100644 --- a/include/wx/cocoa/colour.h +++ b/include/wx/cocoa/colour.h @@ -19,7 +19,7 @@ // wxColour // ======================================================================== -class WXDLLEXPORT wxColour : public wxColourBase +class WXDLLIMPEXP_CORE wxColour : public wxColourBase { public: // constructors @@ -38,6 +38,7 @@ public: // accessors virtual bool IsOk() const { return m_cocoaNSColor; } WX_NSColor GetNSColor() { return m_cocoaNSColor; } + WX_NSColor GetNSColor() const { return m_cocoaNSColor; } unsigned char Red() const { return m_red; } unsigned char Green() const { return m_green; }