Shouldn't call SetFont(wxNullFont) any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1433,7 +1433,6 @@ void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y,
|
||||
dc.SetBrush(*wxBLACK_BRUSH);
|
||||
dc.Clear();
|
||||
dc.DrawText(text, 0, 0);
|
||||
dc.SetFont(wxNullFont);
|
||||
dc.SelectObject(wxNullBitmap);
|
||||
|
||||
// Calculate the size of the rotated bounding box.
|
||||
|
@@ -1433,7 +1433,6 @@ void wxWindowDC::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord y,
|
||||
dc.SetBrush(*wxBLACK_BRUSH);
|
||||
dc.Clear();
|
||||
dc.DrawText(text, 0, 0);
|
||||
dc.SetFont(wxNullFont);
|
||||
dc.SelectObject(wxNullBitmap);
|
||||
|
||||
// Calculate the size of the rotated bounding box.
|
||||
|
Reference in New Issue
Block a user