Remove unnecessary calls from wxDCImpl ctor

There is no need to call neither ResetBoundingBox() nor ResetClipping()
when the variables they reset had just been initialized to the same
values in the ctor initializer list.
This commit is contained in:
Vadim Zeitlin
2018-06-18 22:53:53 +02:00
parent 350867939a
commit 110ace680b

View File

@@ -353,9 +353,6 @@ wxDCImpl::wxDCImpl( wxDC *owner )
(double)wxGetDisplaySizeMM().GetWidth();
m_mm_to_pix_y = (double)wxGetDisplaySize().GetHeight() /
(double)wxGetDisplaySizeMM().GetHeight();
ResetBoundingBox();
ResetClipping();
}
wxDCImpl::~wxDCImpl()