compilation fix for wxStrlcpy use in STL Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-02 15:31:12 +00:00
parent 707aaf17c0
commit b3483429d4

View File

@@ -381,7 +381,8 @@ extern const char *wxDumpDate(const wxDateTime* dt)
static char buf[128];
wxString fmt(dt->Format("%Y-%m-%d (%a) %H:%M:%S"));
wxStrlcpy(buf, fmt + " (" + dt->GetValue().ToString() + " ticks)",
wxStrlcpy(buf,
(fmt + " (" + dt->GetValue().ToString() + " ticks)").ToAscii(),
WXSIZEOF(buf));
return buf;