X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..42124e683da03a7a7463ad9e37d15fda575348af:/include/wx/os2/apptbase.h 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_