Unicode compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 2000-01-03 02:20:03 +00:00
parent f37736559d
commit 5b73520279
2 changed files with 3 additions and 3 deletions

View 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++ )
{

View 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