From 196c87f43d798e8d36096c2dafcf0b7d2a94cf2e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 26 Oct 1999 18:40:50 +0000 Subject: [PATCH] Fixed wxFont mis-specification git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/drawing/drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 7027220821..15feff1a17 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -278,7 +278,7 @@ void MyCanvas::OnPaint(wxPaintEvent &WXUNUSED(event)) dc.DrawText( "This is text", 110, 10 ); - dc.SetFont( wxFont( 18, wxSWISS, 0, 0 ) ); + dc.SetFont( wxFont( 18, wxSWISS, wxNORMAL, wxNORMAL ) ); dc.DrawText( "This is Swiss 18pt text.", 110, 40 ); -- 2.45.2