From 6e2b69c66f6e735802fdd4c987895ef0fe5e1515 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 9 Nov 2007 15:31:11 +0000 Subject: [PATCH] compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index ce77e8de8c..b24f666439 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -1828,10 +1828,9 @@ void RichTextFrame::OnIdle(wxIdleEvent& WXUNUSED(event)) alignment = wxT("left-aligned"); else if (attr.GetAlignment() == wxTEXT_ALIGNMENT_JUSTIFIED) alignment = wxT("justified"); - msg.Printf(wxT("Facename: %s, wxColour(%d, %d, %d), %s"), - (const wxChar*) facename, + msg.Printf( "Facename: %s, wxColour(%d, %d, %d), %s", facename, attr.GetTextColour().Red(), attr.GetTextColour().Green(), attr.GetTextColour().Blue(), - (const wxChar*) alignment); + alignment ); if (attr.HasFont()) {