X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..1b895132c960415872de82c1d47589b6b55cecee:/include/wx/os2/apptbase.h?ds=sidebyside diff --git a/include/wx/os2/apptbase.h b/include/wx/os2/apptbase.h index 6841e24fdb..4694aff2dd 100644 --- a/include/wx/os2/apptbase.h +++ b/include/wx/os2/apptbase.h @@ -6,7 +6,7 @@ // Created: 22.09.2003 // RCS-ID: $Id$ // Copyright: (c) 2003 Stefan Neis -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_OS2_APPTBASE_H_ @@ -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_