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:
@@ -381,7 +381,8 @@ extern const char *wxDumpDate(const wxDateTime* dt)
|
|||||||
static char buf[128];
|
static char buf[128];
|
||||||
|
|
||||||
wxString fmt(dt->Format("%Y-%m-%d (%a) %H:%M:%S"));
|
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));
|
WXSIZEOF(buf));
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
|
Reference in New Issue
Block a user