Really fix compilation of wxURLDataObject.

Conversion from char* to wxString doesn't exist in 2.8, need to do it
explicitly.

Closes #11102.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-09-05 12:39:26 +00:00
parent 77756ff0f2
commit 01943fa2ea

View File

@@ -1245,7 +1245,7 @@ wxString wxURLDataObject::GetURL() const
wxCharBuffer buf(len);
if ( m_dataObjectLast->GetDataHere(buf.data()) )
url = buf;
url = wxString(buf, wxConvLibc);
#else // !wxUSE_UNICODE
// in ANSI build no conversion is necessary
m_dataObjectLast->GetDataHere(wxStringBuffer(url, len));