X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5445a26cc480e03c4dcf2ba54b0881e1fa9330e5..f3d32879d62f58aa8bdf00fbcb5bb2cee5c53816:/include/wx/palmos/apptrait.h diff --git a/include/wx/palmos/apptrait.h b/include/wx/palmos/apptrait.h index 0900044c1b..af90da7225 100644 --- a/include/wx/palmos/apptrait.h +++ b/include/wx/palmos/apptrait.h @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/palmos/apptrait.h // Purpose: class implementing wxAppTraits for Palm OS -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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,9 +36,12 @@ 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 wxToolkitInfo& GetToolkitInfo(); + virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; }; #endif // wxUSE_GUI