]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gsockgtk.cpp
Preserve original menu label for later retrieval
[wxWidgets.git] / src / gtk / gsockgtk.cpp
index af5fbe635dcc799fe3b35ec3d57ba8138734015d..c8f1d5c8f6cc60516e76945672b86008453aa83b 100644 (file)
@@ -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