Don't create uneeded variables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2460,10 +2460,8 @@ void wxFrameManager::ShowHint(const wxRect& rect)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxPoint pt = rect.GetPosition();
|
|
||||||
wxSize size = rect.GetSize();
|
|
||||||
MakeWindowTransparent(m_hint_wnd, initial_fade);
|
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)
|
if (m_flags & wxAUI_MGR_TRANSPARENT_HINT_FADE)
|
||||||
|
Reference in New Issue
Block a user