From: Ove Kaaven Date: Mon, 3 Jan 2000 02:20:03 +0000 (+0000) Subject: Unicode compilation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5b7352027902bebecd06e2a124492fc0ee27f4e2 Unicode compilation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 7fed200c42..7598153308 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -3346,7 +3346,7 @@ wxString wxTimeSpan::Format(const wxChar *format) const wxCHECK_MSG( format, _T(""), _T("NULL format in wxTimeSpan::Format") ); wxString str; - str.Alloc(strlen(format)); + str.Alloc(wxStrlen(format)); for ( const wxChar *pch = format; pch; pch++ ) { diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index e5b536b0a6..b2cf5e2950 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -943,9 +943,9 @@ wxDos2UnixFilename (char *s) void #if defined(__WXMSW__) || defined(__WXPM__) -wxUnix2DosFilename (char *s) +wxUnix2DosFilename (wxChar *s) #else -wxUnix2DosFilename (char *WXUNUSED(s) ) +wxUnix2DosFilename (wxChar *WXUNUSED(s) ) #endif { // Yes, I really mean this to happen under DOS only! JACS