X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fbcc7fce5cb170b1a7cbc9c22299e44152cb1f7..2b4f3c9f768c91d1927c263f5db644cc16fca0b9:/src/msw/gsockmsw.c diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index 0d9c591cb6..32131c214a 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -55,12 +55,6 @@ #include -/* don't use C++ TRUE/FALSE definition which we get from wx/defs.h */ -#undef TRUE -#undef FALSE -#define TRUE 1 -#define FALSE 0 - #ifdef _MSC_VER # pragma warning(default:4115) /* named type definition in parentheses */ #endif @@ -194,7 +188,7 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd, { EnterCriticalSection(&critical); socket = socketList[(uMsg - WM_USER)]; - event = -1; + event = (GSocketEvent) -1; cback = NULL; data = NULL;