X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50165591a5f7de9566fc3bb4fe1ec7e4673d13be..cb73e6001f891ae46b12a1e4ca39b93649cb6099:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 7af9c7108a..ec3c4c0124 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -871,6 +871,7 @@ int wxApp::GetComCtl32Version() // 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 ) @@ -892,6 +893,7 @@ int wxApp::GetComCtl32Version() dvi.dwMinorVersion; } } +#endif // if DllGetVersion() is unavailable either during compile or // run-time, try to guess the version otherwise