]> git.saurik.com Git - wxWidgets.git/commitdiff
Use function table instead of direct references to GSocket functions.
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 6 Sep 2003 16:37:02 +0000 (16:37 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 6 Sep 2003 16:37:02 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/gsockpm.c

index 9cf4ce0229ca9781983c0d2c37925da81ea7f20b..c210cb0b2893b62e9e6585a06b05e15beb10e14d 100644 (file)
@@ -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)