]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dataobj.cpp
Minor corrections to be able to compile with VC++ 1.5C and VC++ 4.1
[wxWidgets.git] / src / msw / ole / dataobj.cpp
index 1699f9dce67f0a6e761eaf7a996ae5657be466d7..1b3c066a8bd8ac92da6ebda5fac58273f9c75a98 100644 (file)
 #if defined(__BORLANDC__)
   #pragma hdrstop
 #endif
-
+#ifndef WX_PRECOMP
+#include "wx/intl.h"
+#endif
 #include "wx/defs.h"
 
-#if defined(__WIN32__) && !defined(__GNUWIN32__)
+#if defined(__WIN32__) && !defined(__GNUWIN32__) || defined(wxUSE_NORLANDER_HEADERS)
 
 #include "wx/log.h"
 #include "wx/dataobj.h"
 
 #include <windows.h>
+#ifdef wxUSE_NORLANDER_HEADERS
+  #include <ole2.h>
+#endif
 #include <oleauto.h>
 
-#ifndef __WIN32__
+#ifndef __WIN32__  
   #include <ole2.h>
   #include <olestd.h>
 #endif