diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 7ee7a28fe7..93b4eb4e4d 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -315,7 +315,7 @@ extern "C" // DLL entry point BOOL WINAPI -DllMain(HANDLE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved)) +DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved)) { // Only call wxEntry if the application itself is part of the DLL. // If only the wxWidgets library is in the DLL, then the