From 9d4943cdb25361fb5ea39de0778f557a065dfa73 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Dec 2008 22:24:18 +0000 Subject: [PATCH] another compilation fix for wxStrlcpy use in STL Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index dc2a79628f..43826ac40f 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -436,7 +436,7 @@ bool wxGetEmailAddress(wxChar *address, int maxSize) if ( !email ) return false; - wxStrlcpy(address, email, maxSize); + wxStrlcpy(address, email.t_str(), maxSize); return true; } -- 2.45.2