From 9aecec9a948123b780ed5bbeef0c3307ca06c5ca Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Thu, 24 Aug 2006 21:18:18 +0000 Subject: [PATCH] Add apptrait.h for msdos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/apptrait.h | 2 ++ include/wx/msdos/apptrait.h | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 include/wx/msdos/apptrait.h diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index ec59d03414..1de2cfea7d 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -244,6 +244,8 @@ public: #include "wx/mac/apptrait.h" #elif defined(__WXPM__) #include "wx/os2/apptrait.h" +#elif defined(__DOS__) + #include "wx/msdos/apptrait.h" #else #if wxUSE_GUI class wxGUIAppTraits : public wxGUIAppTraitsBase diff --git a/include/wx/msdos/apptrait.h b/include/wx/msdos/apptrait.h new file mode 100644 index 0000000000..ca49b32b65 --- /dev/null +++ b/include/wx/msdos/apptrait.h @@ -0,0 +1,27 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/msdos/apptrait.h +// Author: Michael Wetherell +// RCS-ID: $Id$ +// Copyright: (c) 2006 Michael Wetherell +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_MSDOS_APPTRAIT_H_ +#define _WX_MSDOS_APPTRAIT_H_ + +class wxConsoleAppTraits : public wxConsoleAppTraitsBase +{ +public: +}; + +#if wxUSE_GUI + +class wxGUIAppTraits : public wxGUIAppTraitsBase +{ +public: + virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const; +}; + +#endif // wxUSE_GUI + +#endif // _WX_MSDOS_APPTRAIT_H_ -- 2.47.2