]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msdos/apptrait.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msdos / apptrait.h
... / ...
CommitLineData
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
11class wxConsoleAppTraits : public wxConsoleAppTraitsBase
12{
13public:
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
22class wxGUIAppTraits : public wxGUIAppTraitsBase
23{
24public:
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_