]> git.saurik.com Git - wxWidgets.git/commitdiff
Add extern "C" to DllMain
authorRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 15:32:17 +0000 (15:32 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 15:32:17 +0000 (15:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index e7898642b971b477ff2a2668dbfbcb4dfe334dca..cac45b0cbc5904293b1aff91c0eb4ba3bbd7c163 100644 (file)
@@ -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