]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/clipbrd.cpp
Applied patch [ 807164 ] fixes for core library
[wxWidgets.git] / src / msw / clipbrd.cpp
index 3bd80dd0690110e176468147bbbc89a96b7a1c4e..b857b77427cfc7d412ba1400684d48173f0a4aea 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "clipbrd.h"
 #endif
 
@@ -430,9 +430,6 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
                 wxBM->SetWidth(bm.bmWidth);
                 wxBM->SetHeight(bm.bmHeight);
                 wxBM->SetDepth(bm.bmPlanes);
-#if WXWIN_COMPATIBILITY_2
-                wxBM->SetOk(TRUE);
-#endif // WXWIN_COMPATIBILITY_2
                 retval = wxBM;
                 break;
             }