X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b44d740f5aab6d21b9938ca8b29cfcc8a73dc7e..cfa87e8121c94814302ad0a94c7c043c8bb277f6:/include/wx/os2/apptrait.h?ds=sidebyside diff --git a/include/wx/os2/apptrait.h b/include/wx/os2/apptrait.h index 3b8168570c..3c172f2087 100644 --- a/include/wx/os2/apptrait.h +++ b/include/wx/os2/apptrait.h @@ -19,6 +19,9 @@ class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase { public: +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer) { return NULL; }; +#endif }; #if wxUSE_GUI @@ -26,6 +29,9 @@ public: class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase { public: +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); +#endif virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; // wxThread helpers