remove the ugly INSTANCE macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d8abb95f4a
commit
e8d9821d75
@ -29,13 +29,11 @@
|
||||
#endif
|
||||
|
||||
#include "wx/private/socket.h"
|
||||
#include "wx/msw/private.h" // for wxGetInstance()
|
||||
#include "wx/apptrait.h"
|
||||
#include "wx/thread.h"
|
||||
#include "wx/dynlib.h"
|
||||
|
||||
extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance();
|
||||
#define INSTANCE wxGetInstance()
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
/*
|
||||
* As WSAAsyncSelect is not present on WinCE, it now uses WSACreateEvent,
|
||||
@ -258,7 +256,7 @@ void wxSocketMSWManager::OnExit()
|
||||
#endif
|
||||
/* Destroy internal window */
|
||||
DestroyWindow(hWin);
|
||||
UnregisterClass(CLASSNAME, INSTANCE);
|
||||
UnregisterClass(CLASSNAME, wxGetInstance());
|
||||
|
||||
WSACleanup();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user