]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/apptrait.h
compilation fix after last change
[wxWidgets.git] / include / wx / msw / apptrait.h
... / ...
CommitLineData
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$
8// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
9// Licence: wxWindows licence
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
19class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
20{
21public:
22 virtual void *BeforeChildWaitLoop();
23 virtual void AlwaysYield();
24 virtual void AfterChildWaitLoop(void *data);
25
26 virtual bool DoMessageFromThreadWait();
27 virtual WXDWORD WaitForThread(WXHANDLE hThread);
28};
29
30#if wxUSE_GUI
31
32class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
33{
34public:
35 virtual void *BeforeChildWaitLoop();
36 virtual void AlwaysYield();
37 virtual void AfterChildWaitLoop(void *data);
38
39 virtual bool DoMessageFromThreadWait();
40 virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
41 virtual WXDWORD WaitForThread(WXHANDLE hThread);
42};
43
44#endif // wxUSE_GUI
45
46#endif // _WX_MSW_APPTRAIT_H_
47