- 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;
- }
-
- if ( verMaj )
- *verMaj = major;
- if ( verMin )
- *verMin = minor;
-
- return wxUNIX;
+ // this doesn't work yet as there is no main loop in console applications
+ // (but it will be added later)
+ return new wxUnixTimerImpl(timer);