// Name: msw/ole/dataobj.cpp
// Purpose: implementation of wx[I]DataObject class
// Author: Vadim Zeitlin
-// Modified by:
+// Modified by:
// Created: 10.05.98
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
#if defined(__WIN32__) && !defined(__GNUWIN32__)
-#include <wx/log.h>
-#include <wx/msw/ole/oleutils.h>
-#include <wx/msw/ole/dataobj.h>
+#include <wx/log.h>
+#include <wx/msw/ole/dataobj.h>
+
+#include <windows.h>
+#include <oleauto.h>
#ifndef __WIN32__
#include <ole2.h>
#include <olestd.h>
#endif
+#include <wx/msw/ole/oleutils.h>
+
// ----------------------------------------------------------------------------
// functions
// ----------------------------------------------------------------------------
return E_NOTIMPL;
}
- wxIEnumFORMATETC *pEnum =
+ wxIEnumFORMATETC *pEnum =
new wxIEnumFORMATETC(m_pDataObject->GetPreferredFormat());
pEnum->AddRef();
*ppenumFormatEtc = pEnum;
{
#ifdef __WXDEBUG__
// case 'xxx' is not a valid value for switch of enum 'wxDataFormat'
- #ifdef _MSC_VER
+ #ifdef __VISUALC__
#pragma warning(disable:4063)
#endif // VC++
return s_szBuf;
}
- #ifdef _MSC_VER
+ #ifdef __VISUALC__
#pragma warning(default:4063)
#endif // VC++