]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
fixing screen coordinate transformation
[wxWidgets.git] / src / common / socket.cpp
index ede71ebcf13cffcf31bcdd02a0193d16a79cacfe..aba83174a42654305ee3cb51f8655c1cc7fa37a4 100644 (file)
@@ -1990,9 +1990,11 @@ private:
 
 IMPLEMENT_DYNAMIC_CLASS(wxSocketModule, wxModule)
 
+#if defined(wxUSE_SELECT_DISPATCHER) && wxUSE_SELECT_DISPATCHER
 // NOTE: we need to force linking against socketiohandler.cpp otherwise in
 //       static builds of wxWidgets the ManagerSetter::ManagerSetter ctor
 //       contained there wouldn't be ever called
 wxFORCE_LINK_MODULE( socketiohandler )
+#endif
 
 #endif // wxUSE_SOCKETS