From: Robin Dunn Date: Mon, 4 Apr 2005 15:32:17 +0000 (+0000) Subject: Add extern "C" to DllMain X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bd07485ce310b193d1a678b3bcd6d63e3d8bac19 Add extern "C" to DllMain git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index e7898642b9..cac45b0cbc 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -97,6 +97,7 @@ PyObject* wxPyPtrTypeMap = NULL; // This gets run when the DLL is loaded. We just need to save a handle. //---------------------------------------------------------------------- +extern "C" BOOL WINAPI DllMain( HINSTANCE hinstDLL, // handle to DLL module DWORD fdwReason, // reason for calling function