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:
@@ -3346,7 +3346,7 @@ wxString wxTimeSpan::Format(const wxChar *format) const
|
|||||||
wxCHECK_MSG( format, _T(""), _T("NULL format in wxTimeSpan::Format") );
|
wxCHECK_MSG( format, _T(""), _T("NULL format in wxTimeSpan::Format") );
|
||||||
|
|
||||||
wxString str;
|
wxString str;
|
||||||
str.Alloc(strlen(format));
|
str.Alloc(wxStrlen(format));
|
||||||
|
|
||||||
for ( const wxChar *pch = format; pch; pch++ )
|
for ( const wxChar *pch = format; pch; pch++ )
|
||||||
{
|
{
|
||||||
|
@@ -943,9 +943,9 @@ wxDos2UnixFilename (char *s)
|
|||||||
|
|
||||||
void
|
void
|
||||||
#if defined(__WXMSW__) || defined(__WXPM__)
|
#if defined(__WXMSW__) || defined(__WXPM__)
|
||||||
wxUnix2DosFilename (char *s)
|
wxUnix2DosFilename (wxChar *s)
|
||||||
#else
|
#else
|
||||||
wxUnix2DosFilename (char *WXUNUSED(s) )
|
wxUnix2DosFilename (wxChar *WXUNUSED(s) )
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
// Yes, I really mean this to happen under DOS only! JACS
|
// Yes, I really mean this to happen under DOS only! JACS
|
||||||
|
Reference in New Issue
Block a user