From 21a35b708827cd4328f65ffd9066a9907ca3eb91 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Fri, 29 Jun 2007 11:34:25 +0000 Subject: [PATCH] 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 --- src/aui/framemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 6db66b51ed..bd34840e3b 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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();