diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index c2dee417c5..31df13df6b 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -202,8 +202,6 @@ int wxDialog::ShowModal() Show( true ); - SetFocus(); - m_modalShowing = true; g_openDialogs++; diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index c2dee417c5..31df13df6b 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -202,8 +202,6 @@ int wxDialog::ShowModal() Show( true ); - SetFocus(); - m_modalShowing = true; g_openDialogs++;