X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05036fe062a331d3178541c7d22248fb7c04b2d3..94f6d685cb30a8e62d21254bbf19902b48eb2443:/src/gtk/gsockgtk.cpp diff --git a/src/gtk/gsockgtk.cpp b/src/gtk/gsockgtk.cpp index af5fbe635d..c8f1d5c8f6 100644 --- a/src/gtk/gsockgtk.cpp +++ b/src/gtk/gsockgtk.cpp @@ -1,12 +1,13 @@ /* ------------------------------------------------------------------------- * Project: GSocket (Generic Socket) for WX - * Name: gsockgtk.c + * Name: src/gtk/gsockgtk.cpp * Purpose: GSocket: GTK part * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ -#include "wx/setup.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #if wxUSE_SOCKETS @@ -47,7 +48,7 @@ bool GSocketGUIFunctionsTableConcrete::OnInit(void) void GSocketGUIFunctionsTableConcrete::OnExit(void) { } - + bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket *socket) { gint *m_id; @@ -127,9 +128,4 @@ void GSocketGUIFunctionsTableConcrete::Disable_Events(GSocket *socket) Uninstall_Callback(socket, GSOCK_OUTPUT); } -#else /* !wxUSE_SOCKETS */ - -/* some compilers don't like having empty source files */ -static int wxDummyGsockVar = 0; - -#endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */ +#endif // wxUSE_SOCKETS