X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca5c8b2df6ab651c791d43fbfebe005dbb0add40..71b8c213cb2c676b4715ef37e6155da3601f7881:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 16b58ba2f9..ba4a42af25 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -1126,6 +1126,11 @@ HINSTANCE wxGetInstance() return wxhInstance; } +void wxSetInstance(HINSTANCE hInst) +{ + wxhInstance = hInst; +} + // For some reason, with MSVC++ 1.5, WinMain isn't linked in properly // if in a separate file. So include it here to ensure it's linked. #if (defined(__VISUALC__) && !defined(__WIN32__)) || (defined(__GNUWIN32__) && !defined(__TWIN32__))