X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..5c7b506103cfc078a821860766e31c47d595e07f:/include/wx/os2/apptrait.h diff --git a/include/wx/os2/apptrait.h b/include/wx/os2/apptrait.h index 3c172f2087..cfd7acce88 100644 --- a/include/wx/os2/apptrait.h +++ b/include/wx/os2/apptrait.h @@ -19,6 +19,7 @@ class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase { public: + virtual wxEventLoopBase *CreateEventLoop(); #if wxUSE_TIMER virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer) { return NULL; }; #endif @@ -29,10 +30,11 @@ public: class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase { public: + virtual wxEventLoopBase *CreateEventLoop(); #if wxUSE_TIMER virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); #endif - virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; + virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const; // wxThread helpers // ---------------- @@ -45,6 +47,9 @@ public: #ifdef __WXGTK__ virtual wxString GetDesktopEnvironment() const; #endif +#if wxUSE_SOCKETS + virtual GSocketManager *GetSocketManager(); +#endif }; #endif // wxUSE_GUI