]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msdos/apptrait.h
Remove virtual from the newly added Create methods.
[wxWidgets.git] / include / wx / msdos / apptrait.h
CommitLineData
9aecec9a
MW
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msdos/apptrait.h
3// Author: Michael Wetherell
4// RCS-ID: $Id$
5// Copyright: (c) 2006 Michael Wetherell
6// Licence: wxWindows licence
7///////////////////////////////////////////////////////////////////////////////
8
9#ifndef _WX_MSDOS_APPTRAIT_H_
10#define _WX_MSDOS_APPTRAIT_H_
11
12class wxConsoleAppTraits : public wxConsoleAppTraitsBase
13{
14public:
2ddff00c 15 virtual wxEventLoopBase *CreateEventLoop() { return NULL; }
b46b1d59
VZ
16#if wxUSE_TIMER
17 virtual wxTimerImpl *CreateTimerImpl(wxTimer *) { return NULL; }
18#endif // wxUSE_TIMER
9aecec9a
MW
19};
20
21#if wxUSE_GUI
22
23class wxGUIAppTraits : public wxGUIAppTraitsBase
24{
25public:
2ddff00c 26 virtual wxEventLoopBase *CreateEventLoop();
9aecec9a 27 virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
b46b1d59
VZ
28
29#if wxUSE_TIMER
30 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
31#endif // wxUSE_TIMER
9aecec9a
MW
32};
33
34#endif // wxUSE_GUI
35
36#endif // _WX_MSDOS_APPTRAIT_H_