From: Stefan Neis <Stefan.Neis@t-online.de> Date: Sat, 6 Sep 2003 16:37:02 +0000 (+0000) Subject: Use function table instead of direct references to GSocket functions. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/afbfef69a3fafc1c8305ef0289a3d7ddc8c1aa01 Use function table instead of direct references to GSocket functions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/gsockpm.c b/src/os2/gsockpm.c index 9cf4ce0229..c210cb0b28 100644 --- a/src/os2/gsockpm.c +++ b/src/os2/gsockpm.c @@ -25,13 +25,13 @@ extern void wxAppRemoveSocketHandler(int handle); static void _GSocket_PM_Input(void *data) { GSocket *socket = (GSocket *) data; - _GSocket_Detected_Read(socket); + socket->m_functions->Detected_Read(socket); } static void _GSocket_PM_Output(void *data) { GSocket *socket = (GSocket *) data; - _GSocket_Detected_Write(socket); + socket->m_functions->Detected_Write(socket); } int _GSocket_GUI_Init(void)