]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/socket.h
Added Cocoa_acceptsFirstMouse.
[wxWidgets.git] / include / wx / socket.h
index 2cd5df584ad4538ba4d10eaa214470458ab26efd..cd152bae2e53d4d64ab35c56bc5066234d3d005b 100644 (file)
 #ifndef _WX_SOCKET_H_
 #define _WX_SOCKET_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-  #pragma interface "socket.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_SOCKETS
@@ -321,7 +317,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))