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:
@@ -315,7 +315,7 @@ extern "C"
|
|||||||
// DLL entry point
|
// DLL entry point
|
||||||
|
|
||||||
BOOL WINAPI
|
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.
|
// Only call wxEntry if the application itself is part of the DLL.
|
||||||
// If only the wxWidgets library is in the DLL, then the
|
// If only the wxWidgets library is in the DLL, then the
|
||||||
|
Reference in New Issue
Block a user