mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt().
This commit is contained in:
parent
081744b177
commit
645637ab09
14 changed files with 135 additions and 119 deletions
|
|
@ -215,8 +215,8 @@ void MenuBarComponent::showMenu (int index)
|
|||
|
||||
const Rectangle<int> itemPos (xPositions [index], 0, xPositions [index + 1] - xPositions [index], getHeight());
|
||||
|
||||
m.showMenu (itemPos + getScreenPosition(),
|
||||
0, itemPos.getWidth(), 0, 0, true, this,
|
||||
m.showMenu (localAreaToGlobal (itemPos),
|
||||
0, itemPos.getWidth(), 0, 0, this,
|
||||
new AsyncCallback (this, index));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue