From b836b6ea08c2cc7a22f1d44d88f0ce92ecc8a5a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 14 Jun 2006 10:10:53 +0000 Subject: [PATCH] Don't create uneeded variables. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/framemanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.45.2