X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..549c8cc2fe3ab03276745d546b0f81297c34a147:/include/wx/cocoa/colour.h diff --git a/include/wx/cocoa/colour.h b/include/wx/cocoa/colour.h index b8c0087ee9..8d8671f060 100644 --- a/include/wx/cocoa/colour.h +++ b/include/wx/cocoa/colour.h @@ -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 );