X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a71d815bbe669ebb9bdb9409926a272c37a5a9aa..233387bdcbb1c4f31c54b0fe6b3f03e8d261cab1:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index c56de63bc9..f41554eb46 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -588,7 +588,8 @@ int wxApp::GetComCtl32Version() // we're prepared to handle the errors wxLogNull noLog; - + +#if wxUSE_DYNLIB_CLASS // do we have it? wxDynamicLibrary dllComCtl32(_T("comctl32.dll"), wxDL_VERBATIM); @@ -646,6 +647,7 @@ int wxApp::GetComCtl32Version() } } } +#endif } return s_verComCtl32;