]> git.saurik.com Git - wxWidgets.git/commitdiff
Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now...
authorGuillermo Rodriguez Garcia <guille@iies.es>
Fri, 17 Sep 1999 22:24:28 +0000 (22:24 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Fri, 17 Sep 1999 22:24:28 +0000 (22:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/private.h

index 0ff6b1a46d288b4f54ac17db36cabb6ead13d9eb..b4914567c0ca12bbe6005ab53a3a28700fe5e50d 100644 (file)
@@ -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);