Fixed wxFont mis-specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9c5b332b83
commit
196c87f43d
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user