From: Guillermo Rodriguez Garcia Date: Fri, 17 Sep 1999 22:24:28 +0000 (+0000) Subject: Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/186005466d585f5553e6acc7d963cd5b62c3ea9f?ds=inline Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now extern C git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 0ff6b1a46d..b4914567c0 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -242,7 +242,11 @@ WXDLLEXPORT_DATA(extern HINSTANCE) wxhInstance; // global functions // --------------------------------------------------------------------------- +extern "C" +{ WXDLLEXPORT HINSTANCE wxGetInstance(); +} + WXDLLEXPORT void wxSetInstance(HINSTANCE hInst); WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);