git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67873
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// to make sure our 'OffsetToPixelBoundaries' doesn't move the fill shape
SetPen( wxNullGraphicsPen );
// 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 );
DrawText( str, x ,y);
SetBrush( formerBrush );