From f1f2ec9957d5a8c354ad857da0f5dfee264d584e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 31 May 2014 14:30:45 +0000 Subject: [PATCH] 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 --- src/msw/clipbrd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index a1726e3a6f..81bfd9281f 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -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 )