]> git.saurik.com Git - wxWidgets.git/commitdiff
fix a bunch of warnings in unicode build
authorRyan Norton <wxprojects@comcast.net>
Thu, 7 Oct 2004 17:45:04 +0000 (17:45 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 7 Oct 2004 17:45:04 +0000 (17:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/colour.h

index 3b1fe9706a4d6d620793c7eaba5d8ceb94ef0e14..8d8671f060744a55dff8b6dadf7ee37e510d3353 100644 (file)
@@ -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 );