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
This commit is contained in:
@@ -242,7 +242,11 @@ WXDLLEXPORT_DATA(extern HINSTANCE) wxhInstance;
|
|||||||
// global functions
|
// global functions
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
WXDLLEXPORT HINSTANCE wxGetInstance();
|
WXDLLEXPORT HINSTANCE wxGetInstance();
|
||||||
|
}
|
||||||
|
|
||||||
WXDLLEXPORT void wxSetInstance(HINSTANCE hInst);
|
WXDLLEXPORT void wxSetInstance(HINSTANCE hInst);
|
||||||
|
|
||||||
WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);
|
WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);
|
||||||
|
Reference in New Issue
Block a user