]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/colour.h
Added wxMemoryDC::Clear()
[wxWidgets.git] / include / wx / cocoa / colour.h
index b8c0087ee9dec5c4b5347837f1d2de716732a64d..8d8671f060744a55dff8b6dadf7ee37e510d3353 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/06/17
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_COLOUR_H__
@@ -36,6 +36,9 @@ public:
     {   InitFromName(colourName); }
     wxColour( const char *colourName )
     {   InitFromName(wxString::FromAscii(colourName)); }
+#if wxUSE_UNICODE
+    wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); }
+#endif
 
     // copy ctors and assignment operators
     wxColour( const wxColour& col );