]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/apptrait.h
set wxDIALOG_UNIT_COMPATIBILITY to 0 by default
[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:
22 virtual void *BeforeChildWaitLoop();
23 virtual void AlwaysYield();
24 virtual void AfterChildWaitLoop(void *data);
25
26 virtual bool DoMessageFromThreadWait();
27};
28
29#if wxUSE_GUI
30
bb24c68f 31class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
e2478fde
VZ
32{
33public:
34 virtual void *BeforeChildWaitLoop();
35 virtual void AlwaysYield();
36 virtual void AfterChildWaitLoop(void *data);
37
38 virtual bool DoMessageFromThreadWait();
324899f6 39 virtual wxToolkitInfo& GetToolkitInfo();
e2478fde
VZ
40};
41
42#endif // wxUSE_GUI
43
44#endif // _WX_MSW_APPTRAIT_H_
45