]> git.saurik.com Git - wxWidgets.git/commitdiff
Add apptrait.h for msdos
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Thu, 24 Aug 2006 21:18:18 +0000 (21:18 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Thu, 24 Aug 2006 21:18:18 +0000 (21:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/apptrait.h
include/wx/msdos/apptrait.h [new file with mode: 0644]

index ec59d0341490009a03d8d0d251d4dcfa51b41655..1de2cfea7d464f58267a4fbd8398cb9575a73887 100644 (file)
@@ -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 (file)
index 0000000..ca49b32
--- /dev/null
@@ -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_