From 110ace680be6cc91c40366391873658d63fd7481 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Jun 2018 22:53:53 +0200 Subject: [PATCH] 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. --- src/common/dcbase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index a458696c1a..0a0e2d2f1d 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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()