an eventually opened menu is now quit in BWindow::DispatchMessage()

before sending a B_MOUSE_DOWN message to any other view. This fixes bug 
594 for real and another bug in BMenuBar.  BMenuBar tracking will also 
be simplified a bit because of this. Install items to a NULL window on 
Show() as does R5 (although I don't know why yet). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17605 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-05-27 09:57:14 +00:00
parent a502e8cd6e
commit e061d1bae5
4 changed files with 37 additions and 13 deletions
+2
View File
@@ -236,6 +236,8 @@ virtual void _ReservedMenu6();
void RedrawAfterSticky(BRect bounds);
bool OkToProceed(BMenuItem *);
void QuitTracking();
status_t ParseMsg(BMessage *msg, int32 *sindex, BMessage *spec,
int32 *form, const char **prop,
BMenu **tmenu, BMenuItem **titem, int32 *user_data,