]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msdos/apptrait.h
added (wxMSW-only) wxToolTip::SetMaxWidth() and improve its default behaviour (#2817)
[wxWidgets.git] / include / wx / msdos / apptrait.h
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
12 class wxConsoleAppTraits : public wxConsoleAppTraitsBase
13 {
14 public:
15 virtual wxEventLoopBase *CreateEventLoop() { return NULL; }
16 #if wxUSE_TIMER
17 virtual wxTimerImpl *CreateTimerImpl(wxTimer *) { return NULL; }
18 #endif // wxUSE_TIMER
19 };
20
21 #if wxUSE_GUI
22
23 class wxGUIAppTraits : public wxGUIAppTraitsBase
24 {
25 public:
26 virtual wxEventLoopBase *CreateEventLoop();
27 virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const;
28
29 #if wxUSE_TIMER
30 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
31 #endif // wxUSE_TIMER
32 };
33
34 #endif // wxUSE_GUI
35
36 #endif // _WX_MSDOS_APPTRAIT_H_