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/branches/WX_2_8_BRANCH@47018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3071,6 +3071,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();
|
||||
@@ -3080,7 +3081,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();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user