Corrected fix for #11014 in r61506.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1264,7 +1264,7 @@ void wxURLDataObject::SetURL(const wxString& url)
|
||||
|
||||
// CFSTR_SHELLURL is always supposed to be ANSI...
|
||||
wxWX2MBbuf urlA = (wxWX2MBbuf)url.mbc_str();
|
||||
if ( url )
|
||||
if ( urlA )
|
||||
{
|
||||
size_t len = strlen(urlA);
|
||||
SetData(wxDataFormat(CFSTR_SHELLURL), len+1, (const char*)urlA);
|
||||
|
Reference in New Issue
Block a user