From: Vadim Zeitlin Date: Fri, 17 Jul 1998 21:01:47 +0000 (+0000) Subject: don't set focus to [ok] in text entry dialog (leave the text zone have it) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/99d270120e5b408d85b07e3507f2434f34acde51?ds=inline don't set focus to [ok] in text entry dialog (leave the text zone have it) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 3fc44116dd..345d05740e 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -111,10 +111,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent, const wxString& message, } if (ok) - { ok->SetDefault(); - ok->SetFocus(); - } Layout(); Centre(wxBOTH);