Fix compilation error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-06-10 17:09:49 +00:00
parent f421e3f119
commit 1dcb50be4a

View File

@@ -508,7 +508,7 @@ bool wxHTMLDataObject::SetData(size_t WXUNUSED(len), const void *buf)
return false;
// Windows and Mac always use UTF-8, and docs suggest GTK does as well.
const wxString html = wxString::FromUTF8(static_cast<const char*>(buf));
wxString html = wxString::FromUTF8(static_cast<const char*>(buf));
#ifdef __WXMSW__
// To be consistent with other platforms, we only add the Fragment part