From: Robin Dunn Date: Sat, 2 Feb 2002 01:09:47 +0000 (+0000) Subject: Shouldn't call SetFont(wxNullFont) any more X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9e78f901dc2065c4fbd9d634f73c5e973e947759 Shouldn't call SetFont(wxNullFont) any more git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index a4d23bf84a..0f66d18b6d 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -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. diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index a4d23bf84a..0f66d18b6d 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -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.