]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/dirdlg.mm
Update the wxSpinCtrlDouble documentation so SetIncrement refers to SetDigits
[wxWidgets.git] / src / osx / cocoa / dirdlg.mm
index 065b554241362aeaaeafa542b845260c93ef8b37..7d7dc66a2193e93de42814c758c0419d49d2823a 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include "wx/filename.h"
+#include "wx/evtloop.h"
 
 #include "wx/osx/private.h"
 
@@ -90,6 +91,8 @@ void wxDirDialog::ShowWindowModal()
 
 int wxDirDialog::ShowModal()
 {
+    wxCFEventLoopPauseIdleEvents pause;
+
     NSOpenPanel *oPanel = [NSOpenPanel openPanel];
     [oPanel setCanChooseDirectories:YES];
     [oPanel setResolvesAliases:YES];