From 0b2bbd174f160049b9bcf61b742ee013f4fb7450 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 7 Jul 2006 05:58:48 +0000 Subject: [PATCH] Need to skipp the first half of ShowHint if the platform doesn't have transparency support yet. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/framemanager.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 3603cb9252..d77de40633 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -2434,6 +2434,7 @@ void wxFrameManager::OnHintFadeTimer(wxTimerEvent& WXUNUSED(event)) void wxFrameManager::ShowHint(const wxRect& rect) { +#if defined(__WXMSW__) || defined(__WXMAC__) // First, determine if the operating system can handle transparency. // Transparency is available on Win2000 and above @@ -2489,9 +2490,6 @@ void wxFrameManager::ShowHint(const wxRect& rect) // Until a better system color is decided upon we'll just use // blue. p->SetBackgroundColour(*wxBLUE); -#else - wxUnusedVar(pt); - wxUnusedVar(size); #endif m_hint_wnd->Show(); @@ -2518,7 +2516,8 @@ void wxFrameManager::ShowHint(const wxRect& rect) return; } - +#endif + if (m_last_hint != rect) { // remove the last hint rectangle