X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14e9e56dfeb8ba2ab911e2421011c3f9cf1f8c57..7ba7c4e62f008c640f8284de3e61c63882faeb9a:/src/msw/stdpaths.cpp?ds=sidebyside diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index f41673b352..3b815eac7b 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -106,6 +106,8 @@ static ShellFunctions gs_shellFuncs; static void ResolveShellFunctions() { +#if wxUSE_DYNLIB_CLASS + // start with the newest functions, fall back to the oldest ones #ifdef __WXWINCE__ wxString shellDllName(_T("coredll")); @@ -153,6 +155,7 @@ static void ResolveShellFunctions() // because we also link to it statically, so it's ok gs_shellFuncs.initialized = true; +#endif } // ============================================================================