From: Włodzimierz Skiba Date: Wed, 14 Jun 2006 10:10:53 +0000 (+0000) Subject: Don't create uneeded variables. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b836b6ea08c2cc7a22f1d44d88f0ce92ecc8a5a3 Don't create uneeded variables. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 33312ec65b..0f32eda42c 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -2460,10 +2460,8 @@ void wxFrameManager::ShowHint(const wxRect& rect) } else { - wxPoint pt = rect.GetPosition(); - wxSize size = rect.GetSize(); MakeWindowTransparent(m_hint_wnd, initial_fade); - m_hint_wnd->SetSize(pt.x, pt.y, rect.width, rect.height); + m_hint_wnd->SetSize(rect); } if (m_flags & wxAUI_MGR_TRANSPARENT_HINT_FADE)