X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a71d815bbe669ebb9bdb9409926a272c37a5a9aa..7e02be855d14263c996448bdb56c9e1002ad9b53:/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;