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:
parent
5c8ac0b6ca
commit
c2291b1f80
@ -3061,6 +3061,7 @@ void wxAuiManager::ShowHint(const wxRect& rect)
|
|||||||
m_hint_fadeamt = 0;
|
m_hint_fadeamt = 0;
|
||||||
|
|
||||||
m_hint_wnd->SetSize(rect);
|
m_hint_wnd->SetSize(rect);
|
||||||
|
m_hint_wnd->SetTransparent(m_hint_fadeamt);
|
||||||
|
|
||||||
if (!m_hint_wnd->IsShown())
|
if (!m_hint_wnd->IsShown())
|
||||||
m_hint_wnd->Show();
|
m_hint_wnd->Show();
|
||||||
@ -3070,7 +3071,6 @@ void wxAuiManager::ShowHint(const wxRect& rect)
|
|||||||
if (m_action == actionDragFloatingPane && m_action_window)
|
if (m_action == actionDragFloatingPane && m_action_window)
|
||||||
m_action_window->SetFocus();
|
m_action_window->SetFocus();
|
||||||
|
|
||||||
m_hint_wnd->SetTransparent(m_hint_fadeamt);
|
|
||||||
m_hint_wnd->Raise();
|
m_hint_wnd->Raise();
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user