- static wxToolkitInfo info;
- int major, minor;
- char name[256];
-
- if ( sscanf(WXWIN_OS_DESCRIPTION, "%255s %d.%d", name, &major, &minor) != 3 )
- {
- // unreckognized uname string format
- major =
- minor = -1;
- }
-
- info.versionMajor = major;
- info.versionMinor = minor;
- info.name = _T("wxBase");
- info.os = wxUNIX;
-
- return info;
+ // this doesn't work yet as there is no main loop in console applications
+ // (but it will be added later)
+ return new wxUnixTimerImpl(timer);