]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fixes
authorOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:20:03 +0000 (02:20 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:20:03 +0000 (02:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp
src/common/filefn.cpp

index 7fed200c42e61491233913e09bcd7f617c72af90..7598153308a080559c6d6a4973690949c2582892 100644 (file)
@@ -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++ )
     {
index e5b536b0a6d4c1e0c428350f25dfa0fbbb65770c..b2cf5e295005502c71be5d138e4cd8e912cbb0f6 100644 (file)
@@ -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