// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "wxchar.h"
#endif
}
#endif // wxNEED_WX_STRING_H
-#if defined(__WXMAC__) && !defined(__DARWIN__)
+#if defined(__WXMAC__) && !defined(__DARWIN__) && !wxUSE_UNICODE
WXDLLEXPORT FILE * wxFopen(const wxChar *path, const wxChar *mode)
{
return fopen( wxMacStringToCString(path), mode );
// printf( "home %s\n", val );
// convert it,
-#ifdef wxUSE_UNICODE
+#if wxUSE_UNICODE
data = (wxObject *)new wxString(val, wxConvLocal);
#else
data = (wxObject *)new wxString(val);
}
#endif
-#if (defined(__MWERKS__) && !defined(__MACH__)) || defined(__WXWINCE__)
+#if (defined(__MWERKS__) && !defined(__MACH__)) || (defined(__WXWINCE__) && _WIN32_WCE <= 211)
+
int isascii( int c )
{
return ( c >= 0 && c < 128 );
return ptr;
}
+#if (_WIN32_WCE <= 211)
int isspace(int c)
{
return (c == ' ');
}
#endif
+
+#endif