2003-06-23 20:56:19 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/msw/apptrait.h
|
|
|
|
// Purpose: class implementing wxAppTraits for MSW
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 21.06.2003
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2003-06-23 20:56:19 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MSW_APPTRAIT_H_
|
|
|
|
#define _WX_MSW_APPTRAIT_H_
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxGUI/ConsoleAppTraits: must derive from wxAppTraits, not wxAppTraitsBase
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2003-07-04 09:00:07 -04:00
|
|
|
class WXDLLIMPEXP_BASE wxConsoleAppTraits : public wxConsoleAppTraitsBase
|
2003-06-23 20:56:19 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void *BeforeChildWaitLoop();
|
|
|
|
virtual void AlwaysYield();
|
|
|
|
virtual void AfterChildWaitLoop(void *data);
|
|
|
|
|
|
|
|
virtual bool DoMessageFromThreadWait();
|
|
|
|
};
|
|
|
|
|
|
|
|
#if wxUSE_GUI
|
|
|
|
|
2003-07-04 09:00:07 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
|
2003-06-23 20:56:19 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void *BeforeChildWaitLoop();
|
|
|
|
virtual void AlwaysYield();
|
|
|
|
virtual void AfterChildWaitLoop(void *data);
|
|
|
|
|
|
|
|
virtual bool DoMessageFromThreadWait();
|
2006-08-13 17:00:32 -04:00
|
|
|
virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
|
2003-06-23 20:56:19 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_GUI
|
|
|
|
|
|
|
|
#endif // _WX_MSW_APPTRAIT_H_
|
|
|
|
|