X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aecec9a948123b780ed5bbeef0c3307ca06c5ca..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/msdos/apptrait.h?ds=sidebyside diff --git a/include/wx/msdos/apptrait.h b/include/wx/msdos/apptrait.h index ca49b32b65..69216c64aa 100644 --- a/include/wx/msdos/apptrait.h +++ b/include/wx/msdos/apptrait.h @@ -1,7 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/msdos/apptrait.h // Author: Michael Wetherell -// RCS-ID: $Id$ // Copyright: (c) 2006 Michael Wetherell // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -12,6 +11,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 +22,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