X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aecec9a948123b780ed5bbeef0c3307ca06c5ca..4f7222ca3632e40ad8f77947dba6bced63733655:/include/wx/msdos/apptrait.h diff --git a/include/wx/msdos/apptrait.h b/include/wx/msdos/apptrait.h index ca49b32b65..b4520eaaea 100644 --- a/include/wx/msdos/apptrait.h +++ b/include/wx/msdos/apptrait.h @@ -12,6 +12,10 @@ class wxConsoleAppTraits : public wxConsoleAppTraitsBase { public: + virtual wxEventLoopBase *CreateEventLoop() { return NULL; } +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *) { return NULL; } +#endif // wxUSE_TIMER }; #if wxUSE_GUI @@ -19,7 +23,12 @@ public: class wxGUIAppTraits : public wxGUIAppTraitsBase { public: - virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; + virtual wxEventLoopBase *CreateEventLoop(); + virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const; + +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); +#endif // wxUSE_TIMER }; #endif // wxUSE_GUI