X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a6476912577c0ce870b1d2a829825bad45d35a8..e330eb461962fc89d1650d912a5a63eb2f0c02d3:/src/x11/gsockx11.cpp diff --git a/src/x11/gsockx11.cpp b/src/x11/gsockx11.cpp index e3a1f470d0..faf91d0e21 100644 --- a/src/x11/gsockx11.cpp +++ b/src/x11/gsockx11.cpp @@ -1,12 +1,17 @@ /* ------------------------------------------------------------------------- * Project: GSocket (Generic Socket) for WX - * Name: gsockmot.c + * Name: src/x11/gsockx11.cpp * Purpose: GSocket: X11 part * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ -#include "wx/setup.h" +// for compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#if defined(__BORLANDC__) +#pragma hdrstop +#endif #if wxUSE_SOCKETS @@ -31,7 +36,7 @@ extern "C" void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType) static void _GSocket_X11_Input(int *fid, void* data) { GSocket *socket = (GSocket *)data; - + socket->Detected_Read(); } @@ -64,7 +69,7 @@ bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket *socket) m_id[0] = -1; m_id[1] = -1; - return TRUE; + return true; } void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket *socket)