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