]> git.saurik.com Git - wxWidgets.git/commitdiff
use HINSTANCE for first DllMain() parameter (should fix compilation with VC 2005)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Mar 2005 10:54:59 +0000 (10:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Mar 2005 10:54:59 +0000 (10:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/main.cpp

index 7ee7a28fe7ed7068d9de5379aef332fbea6949fd..93b4eb4e4dde7e0355066483ddc5193091ae098f 100644 (file)
@@ -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