#pragma hdrstop
#endif
+#if wxUSE_ACTIVEX
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
+ #include "wx/math.h"
#endif
-#include "wx/math.h"
-
-// I don't know why members of tagVARIANT aren't found when compiling
-// with Wine
-#ifndef __WINE__
-
#include "wx/msw/ole/activex.h"
// autointerfaces that we only use here
WX_DECLARE_AUTOOLE(wxAutoIOleInPlaceSite, IOleInPlaceSite)
continue;
// check if default event sink
- bool defInterface = false;
bool defEventSink = false;
int impTypeFlags = 0;
typeInfo->GetImplTypeFlags(i, &impTypeFlags);
wxFAIL_MSG(wxT("Default event sink is in vtable!"));
}
}
- else
- {
- // WXOLE_TRACEOUT("Default Interface");
- defInterface = true;
- }
}
event.Skip();
}
-#endif
-// __WINE__
+#endif // wxUSE_ACTIVEX