more Unicode fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-22 10:00:25 +00:00
parent 2d26882cdf
commit 42c37decc5
9 changed files with 36 additions and 39 deletions

View File

@@ -190,8 +190,8 @@ bool wxDiagramClipboard::CopyToClipboard(double scale)
{
delete newBitmap;
char buf[200];
sprintf(buf, "Sorry, could not allocate clipboard bitmap (%dx%d)", (maxX+10), (maxY+10));
wxChar buf[200];
wxSprintf(buf, _T("Sorry, could not allocate clipboard bitmap (%dx%d)"), (maxX+10), (maxY+10));
wxMessageBox(buf, _T("Clipboard copy problem"));
return FALSE;
}