From c2291b1f806e3dc0a9494134801d3d96cf304796 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Fri, 29 Jun 2007 11:37:45 +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/trunk@47019 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 5ae4d181a1..8fe3ce589f 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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();