Allow using socket from both wxBase and wxCore (adopting to changes from r50831)

Use Unix' gsocketiohandler files for wxBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2008-01-06 22:47:01 +00:00
parent 2c24e7adf0
commit f90913e2ac
4 changed files with 27 additions and 51 deletions

View File

@@ -27,6 +27,12 @@ public:
// Clean up message queue.
virtual void TerminateGui(unsigned long ulHab);
#if wxUSE_SOCKETS
// returns the select()-based socket manager for console applications which
// is also used by some ports (wxX11, wxDFB) in the GUI build (hence it is
// here and not in wxConsoleAppTraits)
virtual GSocketManager *GetSocketManager();
#endif
};
#endif // _WX_OS2_APPTBASE_H_