]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
In the object destructor, Disassociate the object from its Cocoa counterpart
[wxWidgets.git] / src / common / string.cpp
index 29d51e71b88755766e1644c39355683ac6fd656c..37bda6581efd58627a2e807d921fdb7de5fa38b9 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;