X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..cd72551c2b6cbf67a4a5caf0ba00ba64e41183b2:/src/x11/gsockx11.c diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index 1297cecdee..b6199391e6 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -1,7 +1,7 @@ /* ------------------------------------------------------------------------- * Project: GSocket (Generic Socket) for WX * Name: gsockmot.c - * Purpose: GSocket: Motif part + * Purpose: GSocket: X11 part * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -10,10 +10,13 @@ #if wxUSE_SOCKETS #include -#include +// #include #include "wx/gsocket.h" #include "wx/unix/gsockunx.h" +// TODO: Raw X11 version +#if 0 + extern XtAppContext wxGetAppContext(); static void _GSocket_Motif_Input(XtPointer data, int *fid, @@ -123,4 +126,7 @@ void _GSocket_Disable_Events(GSocket *socket) /* some compilers don't like having empty source files */ static int wxDummyGsockVar = 0; +#endif + // 0 + #endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */