]> git.saurik.com Git - wxWidgets.git/commitdiff
added file with WinCE-specific configuration options checks
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Mar 2005 22:42:59 +0000 (22:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Mar 2005 22:42:59 +0000 (22:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h
include/wx/msw/wince/chkconf.h [new file with mode: 0644]

index a1208027bd5ab7d4eb2981b26b90114c8b373c20..61ada5424bcee5b69377be933808970997a20b80 100644 (file)
@@ -17,6 +17,8 @@
 
 #if defined(__WXPALMOS__)
 #  include "wx/palmos/chkconf.h"
+#elif defined(__WXWINCE__)
+#  include "wx/msw/wince/chkconf.h"
 #elif defined(__WXMSW__)
 #  include "wx/msw/chkconf.h"
 #elif defined(__WXMAC__)
diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h
new file mode 100644 (file)
index 0000000..abdb5bb
--- /dev/null
@@ -0,0 +1,23 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/wince/chkconf.h
+// Purpose:     WinCE-specific configuration options checks
+// Author:      Vadim Zeitlin
+// Modified by:
+// Created:     2005-03-07
+// RCS-ID:      $Id$
+// Copyright:   (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
+// Licence:     wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_MSW_WINCE_CHKCONF_H_
+#define _WX_MSW_WINCE_CHKCONF_H_
+
+// Standard SDK lacks a few things, forcefully disable them
+#ifdef WCE_PLATFORM_STANDARDSDK
+    // no shell functions support
+    #undef wxUSE_STDPATHS
+    #define wxUSE_STDPATHS 0
+#endif // WCE_PLATFORM_STANDARDSDK
+
+#endif // _WX_MSW_WINCE_CHKCONF_H_
+