Stupid me. ConvertToScreen() isn't needed, and I should read more carefully my own code

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2006-03-27 21:50:35 +00:00
parent ed49f4afcd
commit 6aa12747cd
1 changed files with 1 additions and 2 deletions

View File

@ -1881,8 +1881,7 @@ BMenu::OkToProceed(BMenuItem* item)
GetMouse(&where, &buttons, false);
// Quit if user releases the mouse button or moves
// the pointer over another item
// TODO: Something's wrong: I should use ConvertToScreen() here
if (buttons == 0 || HitTestItems(/*ConvertToScreen(*/where/*)*/) != item)
if (buttons == 0 || HitTestItems(where) != item)
proceed = false;
return proceed;