]> git.saurik.com Git - wxWidgets.git/commitdiff
Need to skipp the first half of ShowHint if the platform doesn't
authorRobin Dunn <robin@alldunn.com>
Fri, 7 Jul 2006 05:58:48 +0000 (05:58 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 7 Jul 2006 05:58:48 +0000 (05:58 +0000)
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

index 3603cb9252a91a7ff8d5820f909df866d8673047..d77de4063368f4c95b83bd43245bcba2982c1019 100644 (file)
@@ -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