git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71615
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (buffer)
{
size = strlen( buffer );
-#if __WXMSW__
+#ifdef __WXMSW__
// On Windows we need to add some stuff to the string to satisfy
// its clipboard format requirements.
size += 400;
return false;
size_t bytes = GetDataSize();
-#if __WXMSW__
+#ifdef __WXMSW__
// add the extra info that the MSW clipboard format requires.
char* buffer = new char[bytes];
wxString html(buffer);
// To be consistent with other platforms, we only add the Fragment part
// of the Windows HTML clipboard format to the data object.
-#if __WXMSW__
+#ifdef __WXMSW__
int fragmentStart = html.rfind("StartFragment");
int fragmentEnd = html.rfind("EndFragment");