X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17ebae657e11b672d0c1a5ae19f5ef889503eaf2..9045ad9dfc9d205ad645e6d496bec9ccddd91ced:/src/msw/ole/dataobj.cpp diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 7e2d2132a8..6aa1b39762 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -39,26 +39,18 @@ #include "wx/msw/private.h" // includes -#if wxUSE_NORLANDER_HEADERS +// for some compilers, the entire ole2.h must be included, not only oleauto.h +#if wxUSE_NORLANDER_HEADERS || defined(__WATCOMC__) #include #endif -#include - -#ifndef __WIN32__ - #include - #include -#endif +#include #include #include "wx/msw/ole/oleutils.h" #include "wx/msw/dib.h" -#ifdef __WXWINE__ -#define LPDROPFILES DROPFILES* -#endif - #ifndef CFSTR_SHELLURL #define CFSTR_SHELLURL _T("UniformResourceLocator") #endif @@ -95,6 +87,8 @@ private: CLIPFORMAT *m_formats; // formats we can provide data in ULONG m_nCount, // number of formats we support m_nCurrent; // current enum position + + DECLARE_NO_COPY_CLASS(wxIEnumFORMATETC) }; // ---------------------------------------------------------------------------- @@ -129,6 +123,8 @@ private: wxDataObject *m_pDataObject; // pointer to C++ class we belong to bool m_mustDelete; + + DECLARE_NO_COPY_CLASS(wxIDataObject) }; // ============================================================================