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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user