]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/socket.h
test for wxLog interaction with wxYield better
[wxWidgets.git] / include / wx / socket.h
index 0b955b128da4372217e6c833f45f1257f527732c..4374b9b1d1990e8553b390c91ea507404c25f922 100644 (file)
@@ -348,9 +348,12 @@ public:
 
 typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&);
 
-#define EVT_SOCKET(id, func) { wxEVT_SOCKET, id, -1, \
-  (wxObjectEventFunction) (wxEventFunction) (wxSocketEventFunction) & func, \
-  (wxObject *) NULL },
+#define EVT_SOCKET(id, func) \
+    DECLARE_EVENT_TABLE_ENTRY( wxEVT_SOCKET, id, -1, \
+                              (wxObjectEventFunction) \
+                              (wxEventFunction) \
+                              (wxSocketEventFunction) & func, \
+                              (wxObject *) NULL ),
 
 
 #endif