applied patch 939076: __SMARTPHONE__ define

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-04-21 21:03:02 +00:00
parent 95762eafc1
commit f2aa588ba5
5 changed files with 8 additions and 15 deletions

View File

@@ -29,14 +29,6 @@
#undef wxHAS_RAW_KEY_CODES #undef wxHAS_RAW_KEY_CODES
#endif #endif
/* detect SmartPhone */
#ifdef WIN32_PLATFORM_WFSP
#ifdef wxUSE_SMARTPHONE
#undef wxUSE_SMARTPHONE
#endif
#define wxUSE_SMARTPHONE 1
#endif
/* taskbar is only implemented in wxMSW and X11 ports */ /* taskbar is only implemented in wxMSW and X11 ports */
#if defined(__WXMSW__) || \ #if defined(__WXMSW__) || \
defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__) defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__)

View File

@@ -1070,9 +1070,6 @@
// (notably, wxNotebook pages) // (notably, wxNotebook pages)
#define wxUSE_UXTHEME_AUTO 1 #define wxUSE_UXTHEME_AUTO 1
// Set to 1 to if you're developing for MS SmartPhone
#define wxUSE_SMARTPHONE 0
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// obsolete settings // obsolete settings
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -1061,9 +1061,6 @@
// (notably, wxNotebook pages) // (notably, wxNotebook pages)
#define wxUSE_UXTHEME_AUTO 0 #define wxUSE_UXTHEME_AUTO 0
// Set to 1 if you're developing for MS SmartPhone
#define wxUSE_SMARTPHONE 0
// Set to 1 if you want to maintain a PocketPC-style UI on // Set to 1 if you want to maintain a PocketPC-style UI on
// Windows CE .NET. If 0, wxWindows will use a commandbar // Windows CE .NET. If 0, wxWindows will use a commandbar
// for the menubar, and a normal separate toolbar as per the // for the menubar, and a normal separate toolbar as per the

View File

@@ -117,6 +117,13 @@
# endif # endif
#endif /* WINE */ #endif /* WINE */
/* detect SmartPhone */
#if defined( WIN32_PLATFORM_WFSP )
# ifndef __SMARTPHONE__
# define __SMARTPHONE__
# endif
#endif
/* /*
Include wx/setup.h for the Unix platform defines generated by configure and Include wx/setup.h for the Unix platform defines generated by configure and
the library compilation options the library compilation options

View File

@@ -51,7 +51,7 @@
#include <windowsx.h> #include <windowsx.h>
#include "wx/msw/private.h" #include "wx/msw/private.h"
#if defined(__WXWINCE__) && !wxUSE_SMARTPHONE #ifndef __SMARTPHONE__
#include <commdlg.h> #include <commdlg.h>
#endif #endif