X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebb97a41da74f94885e67f502619dcd6a9f9d272..052d2fc5818243dadbc1ec54b1120e295304fc55:/src/msw/gsockmsw.cpp diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index 937b39039b..df90c628ad 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -70,6 +70,7 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); * be available and it must contain the app's instance * handle. */ +extern HINSTANCE hInst; #define INSTANCE hInst #endif /* __GSOCKET_STANDALONE__ */ @@ -116,7 +117,6 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND, UINT, WPARAM, LPARAM); /* Global variables */ -extern HINSTANCE INSTANCE; static HWND hWin; static CRITICAL_SECTION critical; static GSocket* socketList[MAXSOCKETS];