X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed4b0fdca60e017afe72c55940799ce0fed925f0..81bfc17cc63bde7034da16df0c9cb246a8738337:/src/msw/ole/activex.cpp diff --git a/src/msw/ole/activex.cpp b/src/msw/ole/activex.cpp index 108bd936b9..2c53f29629 100644 --- a/src/msw/ole/activex.cpp +++ b/src/msw/ole/activex.cpp @@ -23,16 +23,13 @@ #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) @@ -1164,5 +1161,4 @@ void wxActiveXContainer::OnKillFocus(wxFocusEvent& event) event.Skip(); } -#endif -// __WINE__ +#endif // wxUSE_ACTIVEX