[haiku-commits] r33902 - haiku/trunk/src/kits/interface

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 5 Nov 2009 18:29:32 +0100 (CET)

Author: bonefish
Date: 2009-11-05 18:29:32 +0100 (Thu, 05 Nov 2009)
New Revision: 33902
Changeset: http://dev.haiku-os.org/changeset/33902/haiku

Modified:
   haiku/trunk/src/kits/interface/View.cpp
Log:
Ugh, forgot to check this in quite a while ago:
If the view doesn't have a tool tip, pass the B_MOUSE_IDLE to the next handler,
so the parent view can show a tool tip. This makes tool tips in a column list
view possible (or at least reasonably easy).


Modified: haiku/trunk/src/kits/interface/View.cpp
===================================================================
--- haiku/trunk/src/kits/interface/View.cpp     2009-11-05 17:24:58 UTC (rev 
33901)
+++ haiku/trunk/src/kits/interface/View.cpp     2009-11-05 17:29:32 UTC (rev 
33902)
@@ -4185,6 +4185,8 @@
                                BToolTip* tip;
                                if (GetToolTipAt(where, &tip))
                                        ShowToolTip(tip);
+                               else
+                                       BHandler::MessageReceived(msg);
                                break;
                        }
 


Other related posts:

  • » [haiku-commits] r33902 - haiku/trunk/src/kits/interface - ingo_weinhold