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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user