using higher abstraction to allow for optimized implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -665,9 +665,7 @@ wxGraphicsContext::DoDrawFilledText(const wxString &str,
|
||||
// to make sure our 'OffsetToPixelBoundaries' doesn't move the fill shape
|
||||
SetPen( wxNullGraphicsPen );
|
||||
|
||||
wxGraphicsPath path = CreatePath();
|
||||
path.AddRectangle( x , y, width, height );
|
||||
FillPath( path );
|
||||
DrawRectangle(x , y, width, height);
|
||||
|
||||
DrawText( str, x ,y);
|
||||
SetBrush( formerBrush );
|
||||
|
Reference in New Issue
Block a user