X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bb6b2c057edbcc5b87f00a8af6ac70f6fd69727..6a6ea041d96f19c89c0f68741502f08e5cee97ec:/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; };