]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/apptrait.h
Mention wxGTK wxAnimation implementation limitations in the docs.
[wxWidgets.git] / include / wx / msw / apptrait.h
CommitLineData
e2478fde
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/apptrait.h
3// Purpose: class implementing wxAppTraits for MSW
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 21.06.2003
7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
65571936 9// Licence: wxWindows licence
e2478fde
VZ
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSW_APPTRAIT_H_
13#define _WX_MSW_APPTRAIT_H_
14
15// ----------------------------------------------------------------------------
16// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
17// ----------------------------------------------------------------------------
18
bb24c68f 19class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
e2478fde
VZ
20{
21public:
2ddff00c 22 virtual wxEventLoopBase *CreateEventLoop();
e2478fde 23 virtual void *BeforeChildWaitLoop();
e2478fde 24 virtual void AfterChildWaitLoop(void *data);
c2ca375c
VZ
25#if wxUSE_TIMER
26 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
dd1af40c
VZ
27#endif // wxUSE_TIMER
28#if wxUSE_THREADS
e2478fde 29 virtual bool DoMessageFromThreadWait();
b95a7c31 30 virtual WXDWORD WaitForThread(WXHANDLE hThread, int flags);
dd1af40c 31#endif // wxUSE_THREADS
784ee7d5
VZ
32#ifndef __WXWINCE__
33 virtual bool CanUseStderr() { return true; }
34 virtual bool WriteToStderr(const wxString& text);
35#endif // !__WXWINCE__
e2478fde
VZ
36};
37
38#if wxUSE_GUI
39
bb24c68f 40class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
e2478fde
VZ
41{
42public:
2ddff00c 43 virtual wxEventLoopBase *CreateEventLoop();
e2478fde 44 virtual void *BeforeChildWaitLoop();
e2478fde 45 virtual void AfterChildWaitLoop(void *data);
c2ca375c
VZ
46#if wxUSE_TIMER
47 virtual wxTimerImpl *CreateTimerImpl(wxTimer *timer);
dd1af40c
VZ
48#endif // wxUSE_TIMER
49#if wxUSE_THREADS
e2478fde 50 virtual bool DoMessageFromThreadWait();
b95a7c31 51 virtual WXDWORD WaitForThread(WXHANDLE hThread, int flags);
dd1af40c
VZ
52#endif // wxUSE_THREADS
53 virtual wxPortId GetToolkitVersion(int *majVer = NULL, int *minVer = NULL) const;
784ee7d5
VZ
54
55#ifndef __WXWINCE__
56 virtual bool CanUseStderr();
57 virtual bool WriteToStderr(const wxString& text);
58#endif // !__WXWINCE__
e2478fde
VZ
59};
60
61#endif // wxUSE_GUI
62
63#endif // _WX_MSW_APPTRAIT_H_