]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
font is only non default if it has non default field values
[wxWidgets.git] / src / common / string.cpp
index 29d51e71b88755766e1644c39355683ac6fd656c..964324306b8c1817a44282e8df5ac4716eb3b7b2 100644 (file)
@@ -1013,6 +1013,10 @@ wxString::Replace(const wxChar *szOld, const wxChar *szNew, bool bReplaceAll)
   return uiCount;
 }
 
+#ifdef __WXWINCE__
+inline int isascii(wxChar c) { return (c >= 0) && (c <=127); }
+#endif
+
 bool wxString::IsAscii() const
 {
   const wxChar *s = (const wxChar*) *this;
@@ -1759,10 +1763,10 @@ wxString& wxString::replace(size_t nStart, size_t nLen,
 // ArrayString
 // ============================================================================
 
-#if !wxUSE_STL
-
 #include "wx/arrstr.h"
 
+#if !wxUSE_STL
+
 // size increment = min(50% of current size, ARRAY_MAXSIZE_INCREMENT)
 #define   ARRAY_MAXSIZE_INCREMENT       4096