X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/beed393c6772484210de27ecd3c8f6fb85675c36..d7926e0b761b782b82f9ef01ff542251b2ef5ae7:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 237eb9eee3..f9a4ae5e65 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -66,7 +66,7 @@ HINSTANCE wxhInstance = 0; #if !defined(_WINDLL) -#if defined(__TWIN32__) || defined(__WXWINE__) +#if defined(__TWIN32__) || defined(__WXWINE__) || defined(__WXMICROWIN__) #define HINSTANCE HANDLE extern "C" @@ -114,8 +114,11 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved) wxEntryCleanup(); break; } +#else + (void)hModule; + (void)fdwReason; #endif // !WXMAKINGDLL - + (void)lpReserved; return TRUE; }