]> git.saurik.com Git - wxWidgets.git/commitdiff
Shouldn't call SetFont(wxNullFont) any more
authorRobin Dunn <robin@alldunn.com>
Sat, 2 Feb 2002 01:09:47 +0000 (01:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 2 Feb 2002 01:09:47 +0000 (01:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp
src/gtk1/dcclient.cpp

index a4d23bf84ad55accefe91b6f91e07e39f6b7add1..0f66d18b6db7492c0210c84b1c5ddff32802c853 100644 (file)
@@ -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.
index a4d23bf84ad55accefe91b6f91e07e39f6b7add1..0f66d18b6db7492c0210c84b1c5ddff32802c853 100644 (file)
@@ -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.