X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fc852b7ffca3817b98522fcf62d7ffa4e2b194e..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/os2/apptbase.h diff --git a/include/wx/os2/apptbase.h b/include/wx/os2/apptbase.h index 26cca0d69a..5916fda07d 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 wxSocketManager *GetSocketManager(); +#endif }; #endif // _WX_OS2_APPTBASE_H_