Added a clarifying comment.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10707 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-01-13 08:40:52 +00:00
parent 77cbf881fc
commit 27ec1ee4fe
+6 -3
View File
@@ -1,5 +1,5 @@
//------------------------------------------------------------------------------
// Copyright (c) 2001-2004, Haiku
// Copyright (c) 2001-2005, Haiku, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
@@ -267,7 +267,6 @@ BPopUpMenu::ScreenLocation()
}
//------------------------------------------------------------------------------
// #pragma mark -
// private methods
@@ -400,9 +399,13 @@ BPopUpMenu::start_track(BPoint where, bool autoInvoke,
{
BMenuItem *result = NULL;
fUseWhere = true;
fWhere = where;
// I know, this doesn't look senseful, but don't be fooled,
// fUseWhere is used in ScreenLocation(), which is a virtual
// called by BMenu::Track()
fUseWhere = true;
// Show the menu's window
Show();