|
|
|
@@ -1677,6 +1677,11 @@ void PopupMenu::showMenuAsync (const Options& options, ModalComponentManager::Ca |
|
|
|
showWithOptionalCallback (options, userCallback, false);
|
|
|
|
}
|
|
|
|
|
|
|
|
void PopupMenu::showMenuAsync (const Options& options, std::function<void(int)> userCallback)
|
|
|
|
{
|
|
|
|
showWithOptionalCallback (options, ModalCallbackFunction::create (userCallback), false);
|
|
|
|
}
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
#if JUCE_MODAL_LOOPS_PERMITTED
|
|
|
|
int PopupMenu::show (int itemIDThatMustBeVisible, int minimumWidth,
|
|
|
|
|