X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fc852b7ffca3817b98522fcf62d7ffa4e2b194e..6c960f2e810bb16143bd64f228f301e9397a44bc:/include/wx/os2/apptbase.h diff --git a/include/wx/os2/apptbase.h b/include/wx/os2/apptbase.h index 26cca0d69a..4694aff2dd 100644 --- a/include/wx/os2/apptbase.h +++ b/include/wx/os2/apptbase.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/os2/apptbase.h -// Purpose: declaration of wxAppTraits for MSW +// Purpose: declaration of wxAppTraits for OS2 // Author: Stefan Neis // Modified by: // Created: 22.09.2003 @@ -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_