]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGetInstance must be defined as extern C (patch 1085837)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Dec 2004 01:31:48 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Dec 2004 01:31:48 +0000 (01:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/main.cpp

index a8bee7283bd1ad4632b9623432e0bd2885258314..5251f1f34d20bd25c3dde2a9631d3dc3aed7af31 100644 (file)
@@ -155,7 +155,7 @@ DllMain(HANDLE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved))
 
 HINSTANCE wxhInstance = 0;
 
 
 HINSTANCE wxhInstance = 0;
 
-HINSTANCE wxGetInstance()
+extern "C" HINSTANCE wxGetInstance()
 {
     return wxhInstance;
 }
 {
     return wxhInstance;
 }