]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing non-unicode build
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 May 2009 19:20:22 +0000 (19:20 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 May 2009 19:20:22 +0000 (19:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/cfstring.cpp

index d067feaa1eb4c562893cb271fdfc3e87269f8904..3d10e29b7e071780fdf2a477314e81af5f6a24d9 100644 (file)
@@ -670,7 +670,7 @@ wxString wxCFStringRef::AsString(wxFontEncoding WXUNUSED_IN_UNICODE(encoding))
     #error "unsupported unicode representation"
   #endif
 #else
-    wxString result(buf, cStrLen) ;
+    result = wxString(buf, cStrLen) ;
 #endif
     
     delete[] buf ;