]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation error
authorRobin Dunn <robin@alldunn.com>
Sun, 10 Jun 2012 17:09:49 +0000 (17:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 10 Jun 2012 17:09:49 +0000 (17:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dobjcmn.cpp

index 01a1a6699c0c7bd3722c31b2e4bda46d8efee86f..2b6ce68efbb36b3e54c35b43e5731c4e1895c068 100644 (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