backport of fix for non-unicode builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-05-28 10:52:39 +00:00
parent 8874d1fe21
commit 76f35c3132

View File

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