git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22944
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// if so, then we can check for the version
if ( dllComCtl32.IsLoaded() )
{
+#ifdef DLLVER_PLATFORM_WINDOWS
// try to use DllGetVersion() if available in _headers_
wxDYNLIB_FUNCTION( DLLGETVERSIONPROC, DllGetVersion, dllComCtl32 );
if ( pfnDllGetVersion )
dvi.dwMinorVersion;
}
}
+#endif
// if DllGetVersion() is unavailable either during compile or
// run-time, try to guess the version otherwise
#endif //WX_PRECOMP
#include "wx/apptrait.h"
+// MBN: this is a workaround for MSVC 5: if it is not #included in
+// some wxBase file, wxRecursionGuard methods won't be exported from
+// wxBase.dll, and MSVC 5 will give linker errors
+#include "wx/recguard.h"
#include "wx/msw/private.h"