Remove spurious MSVC check around wxDF_HTML code in wxMSW.

For some reason, support for wxDF_HTML in clipboard code was disabled for
non-MSVC compilers. Enable it now as it's not compiler-specific at all.

See #16297.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-05-31 14:30:45 +00:00
parent ceb39f4174
commit f1f2ec9957

View File

@ -296,8 +296,7 @@ bool wxSetClipboardData(wxDataFormat dataFormat,
handle = SetClipboardData(dataFormat, hGlobalMemory);
break;
}
// Only tested with Visual C++ 6.0 so far
#if defined(__VISUALC__)
case wxDF_HTML:
{
char* html = (char *)data;
@ -365,7 +364,6 @@ bool wxSetClipboardData(wxDataFormat dataFormat,
delete [] buf;
break;
}
#endif
}
if ( handle == 0 )