X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51edda6af0e2005c1cc581331863984f0ef48b5d..5ebdc86afc95a60fbeb0b2a71c38dd26c8a1b0b4:/src/msw/clipbrd.cpp diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index 6b93ebf988..bb12806233 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -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; }