]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/clipbrd.cpp
bitmap and image updates
[wxWidgets.git] / src / msw / clipbrd.cpp
index 6b93ebf988cf1a203992265000026f1eea1f3382..bb12806233ecfec8032260b728dfbea947a76055 100644 (file)
@@ -319,7 +319,9 @@ 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;
             }