]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/colour.h
add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
[wxWidgets.git] / include / wx / cocoa / colour.h
index ddec620a9f26f722fb990d220b2ece28c895bc7d..3209d94f0c55224db144d640a13f7d16477bf8c8 100644 (file)
@@ -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; }