]> git.saurik.com Git - wxWidgets.git/commitdiff
in wxAUI, set the hint transparency before showing the hint window, as this prevents...
authorBenjamin Williams <bwilliams@kirix.com>
Fri, 29 Jun 2007 11:37:45 +0000 (11:37 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Fri, 29 Jun 2007 11:37:45 +0000 (11:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 5ae4d181a1124849472bbba23bd3ad6343aed0e8..8fe3ce589ffc23e5d1fe85bdcfa2e94d4cf3ddb1 100644 (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();