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