From 4f61df823f1c16f7678be5a67f1fa4e29d90c5ff Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 13 Jan 2009 00:38:38 +0000 Subject: [PATCH] fix wxMSW shared builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/socket.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2