From: Vadim Zeitlin Date: Thu, 3 Mar 2005 10:54:59 +0000 (+0000) Subject: use HINSTANCE for first DllMain() parameter (should fix compilation with VC 2005) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7adf0b4de22c8841465564842c4a91a79bef8071?ds=sidebyside use HINSTANCE for first DllMain() parameter (should fix compilation with VC 2005) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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