From 90b78a567f3271fede518e42de3f90eef10a3fdb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 31 Dec 2004 13:19:18 +0000 Subject: [PATCH] setting focus explicitely when using showmodal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 9ec4ef5220..cc581e9bf4 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -163,6 +163,8 @@ void wxDialog::DoShowModal() wxModalDialogs.Append(this); + SetFocus() ; + #if TARGET_CARBON BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ; #else -- 2.47.2