Browse Source

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

tags/2021-05-28
ed 5 years ago
parent
commit
28eddda1d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/threads/juce_Process.h

+ 1
- 1
modules/juce_core/threads/juce_Process.h 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);


Loading…
Cancel
Save