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:
Vadim Zeitlin
2022-04-29 16:54:45 +01:00
parent 03b9be08de
commit 2fbb40ab61

View File

@@ -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,