From: Francesco Montorsi Date: Tue, 13 Jan 2009 00:38:38 +0000 (+0000) Subject: fix wxMSW shared builds X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4f61df823f1c16f7678be5a67f1fa4e29d90c5ff fix wxMSW shared builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/socket.cpp b/src/common/socket.cpp index ede71ebcf1..aba83174a4 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -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