in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams 2007-06-29 11:37:45 +00:00
parent 5c8ac0b6ca
commit c2291b1f80

View File

@ -3061,6 +3061,7 @@ void wxAuiManager::ShowHint(const wxRect& rect)
m_hint_fadeamt = 0;
m_hint_wnd->SetSize(rect);
m_hint_wnd->SetTransparent(m_hint_fadeamt);
if (!m_hint_wnd->IsShown())
m_hint_wnd->Show();
@ -3070,7 +3071,6 @@ void wxAuiManager::ShowHint(const wxRect& rect)
if (m_action == actionDragFloatingPane && m_action_window)
m_action_window->SetFocus();
m_hint_wnd->SetTransparent(m_hint_fadeamt);
m_hint_wnd->Raise();