Browse Source

Do not use fancy win32 dialog on mingw

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
649df0ea96
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/modules/juce_gui_basics/native/juce_win32_FileChooser.cpp

+ 4
- 0
source/modules/juce_gui_basics/native/juce_win32_FileChooser.cpp View File

@@ -167,6 +167,7 @@ private:
Atomic<HWND> nativeDialogRef;
Atomic<int> shouldCancel;
#if JUCE_MSVC
bool showDialog (IFileDialog& dialog, bool async) const
{
FILEOPENDIALOGOPTIONS flags = {};
@@ -303,6 +304,7 @@ private:
return result;
}
#endif
Array<URL> openDialogPreVista (bool async)
{
@@ -412,8 +414,10 @@ private:
const Remover remover (*this);
#if JUCE_MSVC
if (SystemStats::getOperatingSystemType() >= SystemStats::WinVista)
return openDialogVistaAndUp (async);
#endif
return openDialogPreVista (async);
}


Loading…
Cancel
Save