diff --git a/examples/Demo/Source/Demos/MDIDemo.cpp b/examples/Demo/Source/Demos/MDIDemo.cpp index 7ec471e2d1..b1f57961a8 100644 --- a/examples/Demo/Source/Demos/MDIDemo.cpp +++ b/examples/Demo/Source/Demos/MDIDemo.cpp @@ -94,10 +94,12 @@ public: // not interested in this for now } + #if JUCE_MODAL_LOOPS_PERMITTED File getSuggestedSaveAsFile (const File&) override { return File::getSpecialLocation (File::userDesktopDirectory).getChildFile (getName()).withFileExtension ("jnote"); } + #endif private: Value textValueObject;