X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aecec9a948123b780ed5bbeef0c3307ca06c5ca..e82b00a76d14e0c8717cce0ed7523047e6359352:/include/wx/msdos/apptrait.h?ds=sidebyside 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