X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3324be240257cb1a97c439616a1d58cb3b437cc..520e470fdd0daef09c77938db642e4583933c90d:/src/msw/clipbrd.cpp diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index 0c92cfc8e2..f2cc312f8d 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -10,7 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation #pragma implementation "clipbrd.h" #endif @@ -25,7 +24,7 @@ #include "wx/setup.h" #endif -#if USE_CLIPBOARD +#if wxUSE_CLIPBOARD #ifndef WX_PRECOMP #include "wx/app.h" @@ -121,7 +120,7 @@ bool wxSetClipboardData(int dataFormat, wxObject *obj, int width, int height) } case wxDF_DIB: { -#if USE_IMAGE_LOADING_IN_MSW +#if wxUSE_IMAGE_LOADING_IN_MSW HBITMAP hBitmap=(HBITMAP) ((wxBitmap *)obj)->GetHBITMAP(); HANDLE hDIB=BitmapToDIB(hBitmap,NULL); // NULL==uses system palette bool success = (::SetClipboardData(CF_DIB,hDIB) != 0); @@ -131,7 +130,7 @@ bool wxSetClipboardData(int dataFormat, wxObject *obj, int width, int height) return success; break; } -#if USE_METAFILE +#if wxUSE_METAFILE case wxDF_METAFILE: { wxMetaFile *wxMF = (wxMetaFile *)obj; @@ -461,5 +460,5 @@ char *wxClipboard::GetClipboardData(char *format, long *length, long time) } -#endif // USE_CLIPBOARD +#endif // wxUSE_CLIPBOARD