]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
Made wxNO_DEFAULT set the "no" button as the default, according to the docs
[wxWidgets.git] / src / gtk / dialog.cpp
index bed7d500ffc0419620660708ec89ddf1189231af..9812ec9c7b98f3593e5ee8383657113df33be3af 100644 (file)
@@ -18,6 +18,7 @@
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
 #include "wx/gtk/win_gtk.h"
+#include "wx/cursor.h"
 
 //-----------------------------------------------------------------------------
 // idle system
@@ -595,6 +596,8 @@ int wxDialog::ShowModal()
        return GetReturnCode();
     }
 
+    wxBusyCursorSuspender cs; // temporarily suppress the busy cursor
+    
     Show( TRUE );
 
     m_modalShowing = TRUE;