]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation
authorRobert Roebling <robert@roebling.de>
Fri, 9 Nov 2007 15:31:11 +0000 (15:31 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 9 Nov 2007 15:31:11 +0000 (15:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp

index ce77e8de8c491442d5d9cfedd44184827850608d..b24f666439553dc4fe6cb992d2c3635fdf5225c6 100644 (file)
@@ -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())
             {