X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a050e347b1ece07ad5f165ba1b1d16edbeae77..f1fc7bab85864e99f4e7de4994e947ab0ab5a83a:/src/msw/dlmsw.cpp?ds=inline diff --git a/src/msw/dlmsw.cpp b/src/msw/dlmsw.cpp index 18a819d796..39830797dc 100644 --- a/src/msw/dlmsw.cpp +++ b/src/msw/dlmsw.cpp @@ -139,9 +139,8 @@ HMODULE wxGetModuleHandle(const char *name, void *addr) } // Windows CE only has Unicode API, so even we have an ANSI string here, we - // still need to use GetModuleHandleW() there and so do it everywhere to - // avoid #ifdefs -- this code is not performance-critical anyhow... -#ifdef __WINCE__ + // still need to use GetModuleHandleW() there +#ifdef __WXWINCE__ return ::GetModuleHandleW(wxConvLibc.cMB2WC(name).data()); #else return ::GetModuleHandleA((char *)name);