]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/socket.h
Support for G_FILENAME_ENCODING=@locale
[wxWidgets.git] / include / wx / socket.h
index 2cd5df584ad4538ba4d10eaa214470458ab26efd..15a718b4fd90a1b1fa395f7cb5e653fdeec5a857 100644 (file)
@@ -321,7 +321,7 @@ public:
 typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&);
 
 #define wxSocketEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxSocketEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxSocketEventFunction, &func)
 
 #define EVT_SOCKET(id, func) \
     wx__DECLARE_EVT1(wxEVT_SOCKET, id, wxSocketEventHandler(func))