From 098262aa8af26c64b372dcd5de8658122d3794ef Mon Sep 17 00:00:00 2001 From: James Johnson Date: Tue, 24 Aug 2021 09:50:57 +0100 Subject: [PATCH] Add default return value for Component::exitModalState --- modules/juce_gui_basics/components/juce_Component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/components/juce_Component.h b/modules/juce_gui_basics/components/juce_Component.h index 24529bf535..9f73049695 100644 --- a/modules/juce_gui_basics/components/juce_Component.h +++ b/modules/juce_gui_basics/components/juce_Component.h @@ -2132,7 +2132,7 @@ public: @see runModalLoop, enterModalState, isCurrentlyModal */ - void exitModalState (int returnValue); + void exitModalState (int returnValue = 0); /** Returns true if this component is the modal one.