]> git.saurik.com Git - wxWidgets.git/commitdiff
fix wxMSW shared builds
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 13 Jan 2009 00:38:38 +0000 (00:38 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 13 Jan 2009 00:38:38 +0000 (00:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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