#if wxUSE_SOCKETS
+#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
_GSocket_Detected_Write(socket);
}
-void _GSocket_GUI_Init(GSocket *socket)
+int _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
m_id[0] = -1;
m_id[1] = -1;
+
+ return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)
gint *m_id = (gint *)(socket->m_gui_dependent);
int c;
+ assert( m_id != NULL );
+
switch (event)
{
case GSOCK_LOST: /* fall-through */