wxGetInstance must be defined as extern C (patch 1085837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d35dce3a2e
commit
028e7716ef
@ -155,7 +155,7 @@ DllMain(HANDLE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved))
|
||||
|
||||
HINSTANCE wxhInstance = 0;
|
||||
|
||||
HINSTANCE wxGetInstance()
|
||||
extern "C" HINSTANCE wxGetInstance()
|
||||
{
|
||||
return wxhInstance;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user