1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Check that juce_gui_basics module is available when declaring Process::setDockIconVisible() to fix potential linker error

This commit is contained in:
ed 2020-01-22 12:42:04 +00:00
parent e0af085014
commit 28eddda1d9

View file

@ -133,7 +133,7 @@ public:
static void JUCE_CALLTYPE setCurrentModuleInstanceHandle (void* newHandle) noexcept;
#endif
#if JUCE_MAC || DOXYGEN
#if (JUCE_MAC && JUCE_MODULE_AVAILABLE_juce_gui_basics) || DOXYGEN
//==============================================================================
/** OSX ONLY - Shows or hides the OSX dock icon for this app. */
static void setDockIconVisible (bool isVisible);