X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..ea276239125ab295122820c6d6a03b729431f7e7:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 521ed775a3..22afbab35e 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -456,8 +456,10 @@ typedef short int WXTYPE; #ifndef HAVE_WOSTREAM - // Mingw <=3.4 doesn't have std::wostream - #if defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4,0) + // Mingw <= 3.4 and any version (so far) when targetting PalmOS don't have + // std::wostream + #if defined(__PALMOS__) || \ + (defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4, 0)) #define wxNO_WOSTREAM #endif @@ -2083,7 +2085,8 @@ enum wxHitTest /* GDI descriptions */ /* ---------------------------------------------------------------------------- */ -enum +/* don't use any elements of this enum in the new code */ +enum wxDeprecatedGUIConstants { /* Text font families */ wxDEFAULT = 70, @@ -2136,7 +2139,7 @@ enum wxHORIZONTAL_HATCH, wxVERTICAL_HATCH, wxFIRST_HATCH = wxBDIAGONAL_HATCH, - wxLAST_HATCH = wxVERTICAL_HATCH, + wxLAST_HATCH = wxVERTICAL_HATCH #endif };