#include "wx/resource.h"
#endif
+#if wxUSE_DRAG_AND_DROP
+#include <ole2.h>
+#endif
#include <string.h>
#include <ctype.h>
return FALSE;
}
*/
-
+
+#ifndef __GNUWIN32__
// we need to initialize OLE library
if ( FAILED(::OleInitialize(NULL)) )
wxFatalError(_("Cannot initialize OLE"));
+#endif
#if CTL3D
if (!Ctl3dRegister(wxhInstance))
if ( wxDisableButtonBrush )
::DeleteObject( wxDisableButtonBrush ) ;
+#ifndef __GNUWIN32__
::OleUninitialize();
+#endif
#if CTL3D
Ctl3dUnregister(wxhInstance);