X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..62c9b3d73fdf9a892a311241f1effc12dde0282a:/include/wx/os2/apptbase.h diff --git a/include/wx/os2/apptbase.h b/include/wx/os2/apptbase.h index 6841e24fdb..5916fda07d 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 wxSocketManager *GetSocketManager(); +#endif }; #endif // _WX_OS2_APPTBASE_H_