]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/cfstring.cpp
respecting more of the toolbar positions (tb_right not yet working), and fixing SetSi...
[wxWidgets.git] / 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 ;