remove INSTANCE declaration which uses wrong dll export convention and is unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7fa03f0434
commit
854bac91fd
@ -63,7 +63,7 @@
|
|||||||
extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
|
extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
|
||||||
#define INSTANCE wxGetInstance()
|
#define INSTANCE wxGetInstance()
|
||||||
|
|
||||||
#else
|
#else /* __GSOCKET_STANDALONE__ */
|
||||||
|
|
||||||
#include "gsockmsw.h"
|
#include "gsockmsw.h"
|
||||||
#include "gsocket.h"
|
#include "gsocket.h"
|
||||||
@ -72,10 +72,10 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
|
|||||||
* be available and it must contain the app's instance
|
* be available and it must contain the app's instance
|
||||||
* handle.
|
* handle.
|
||||||
*/
|
*/
|
||||||
extern HINSTANCE hInst;
|
extern HINSTANCE hInst;
|
||||||
#define INSTANCE hInst
|
#define INSTANCE hInst
|
||||||
|
|
||||||
#endif /* __GSOCKET_STANDALONE__ */
|
#endif /* !__GSOCKET_STANDALONE__/__GSOCKET_STANDALONE__ */
|
||||||
|
|
||||||
#ifndef __WXWINCE__
|
#ifndef __WXWINCE__
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -132,7 +132,6 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND, UINT, WPARAM, LPARAM);
|
|||||||
|
|
||||||
/* Global variables */
|
/* Global variables */
|
||||||
|
|
||||||
extern HINSTANCE INSTANCE;
|
|
||||||
static HWND hWin;
|
static HWND hWin;
|
||||||
static CRITICAL_SECTION critical;
|
static CRITICAL_SECTION critical;
|
||||||
static GSocket* socketList[MAXSOCKETS];
|
static GSocket* socketList[MAXSOCKETS];
|
||||||
|
Loading…
Reference in New Issue
Block a user