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
This commit is contained in:
Vadim Zeitlin 2005-03-03 10:54:59 +00:00
parent 9f8d3f61a9
commit 7adf0b4de2

View 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