-void wxRegisterSocketCallback(int fd, wxSocketTableType socketType, wxSocketCallback cback, void* data);
-void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType);
+extern "C" void wxRegisterSocketCallback(int fd, wxSocketTableType socketType, wxSocketCallback cback, void* data);
+extern "C" void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType);