]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't create uneeded variables.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 14 Jun 2006 10:10:53 +0000 (10:10 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 14 Jun 2006 10:10:53 +0000 (10:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 33312ec65bc05172c6cbf3f5e33098851a84942f..0f32eda42c530790c563f230c3e55958ea18ff73 100644 (file)
@@ -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)