Remove RealizeScaleAndOrigin() call from wxMSWDCImpl::Clear()
It seems unnecessary here as this function doesn't change neither scale nor the origin, so there should be no need to realize them neither.
This commit is contained in:
@@ -813,8 +813,6 @@ void wxMSWDCImpl::Clear()
|
|||||||
// of complex transformation (is e.g. rotated).
|
// of complex transformation (is e.g. rotated).
|
||||||
::InflateRect(&rect, 1, 1);
|
::InflateRect(&rect, 1, 1);
|
||||||
::FillRect(GetHdc(), &rect, hbr);
|
::FillRect(GetHdc(), &rect, hbr);
|
||||||
|
|
||||||
RealizeScaleAndOrigin();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxMSWDCImpl::DoFloodFill(wxCoord x,
|
bool wxMSWDCImpl::DoFloodFill(wxCoord x,
|
||||||
|
|||||||
Reference in New Issue
Block a user