X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bb6b2c057edbcc5b87f00a8af6ac70f6fd69727..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/palmos/apptrait.h diff --git a/include/wx/palmos/apptrait.h b/include/wx/palmos/apptrait.h index cfe8fde4f9..af90da7225 100644 --- a/include/wx/palmos/apptrait.h +++ b/include/wx/palmos/apptrait.h @@ -22,7 +22,9 @@ public: virtual void *BeforeChildWaitLoop(); virtual void AlwaysYield(); virtual void AfterChildWaitLoop(void *data); - +#if wxUSE_TIMER + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer) { return NULL; }; +#endif virtual bool DoMessageFromThreadWait(); }; @@ -34,7 +36,10 @@ public: virtual void *BeforeChildWaitLoop(); virtual void AlwaysYield(); virtual void AfterChildWaitLoop(void *data); - +#if wxUSE_TIMER + // there is no wxTimer support yet + virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer); +#endif virtual bool DoMessageFromThreadWait(); virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; };