From: Robin Dunn Date: Sat, 15 May 2004 19:26:39 +0000 (+0000) Subject: A little cleanup X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/985934750c27132195a4c99c77ea2bcd4237622c A little cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 7f8c55e784..5c51c2e88c 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -773,14 +773,12 @@ void wxWindowMac::MacPostControlCreate(const wxPoint& pos, const wxSize& size) UMASetControlTitle( (ControlRef) m_macControl , wxStripMenuCodes(m_label) , m_font.GetEncoding() ) ; - wxSize new_size = size ; if (!m_macIsUserPane) { SetInitialBestSize(size); } SetCursor( *wxSTANDARD_CURSOR ) ; - } void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )