]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
added more robust wxTLW::ShowFullScreen implementation
[wxWidgets.git] / src / gtk / dialog.cpp
index 68a991a37175a6f41c79feb1dc5e053114eb683f..4c95d23682ab9e55ba9d46df4d43300d0993de6c 100644 (file)
@@ -30,8 +30,6 @@ extern void wxapp_install_idle_handler();
 extern bool g_isIdle;
 extern int g_openDialogs;
 
-
-
 //-----------------------------------------------------------------------------
 // wxDialog
 //-----------------------------------------------------------------------------
@@ -209,9 +207,11 @@ int wxDialog::ShowModal()
     }
 
     wxBusyCursorSuspender cs; // temporarily suppress the busy cursor
-
+    
     Show( TRUE );
 
+    SetFocus();
+
     m_modalShowing = TRUE;
 
     g_openDialogs++;