]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/cfstring.cpp
Made wxWindow::HasScrollbar() do what it says.
[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 ;