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
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