X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81e3be0e463e644353b4f969336ca2551b2f0fb4..fe8f794343fc22d3da1e6f003fdd754d2bdf9339:/include/wx/features.h diff --git a/include/wx/features.h b/include/wx/features.h index 49deed180e..144ecd2e61 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -27,6 +27,14 @@ #undef wxHAS_RAW_KEY_CODES #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 #if defined(__WXMSW__) || \ defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXX11__)