X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aecec9a948123b780ed5bbeef0c3307ca06c5ca..2c20f44d7034eb5d19b7d4459bfc72bbf95de355:/include/wx/msdos/apptrait.h diff --git a/include/wx/msdos/apptrait.h b/include/wx/msdos/apptrait.h index ca49b32b65..6b377ff7a1 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 wxEventLoopBase *CreateEventLoop(); virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; + +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); +#endif // wxUSE_TIMER }; #endif // wxUSE_GUI