X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4efd74436a13b03d10d9cf5759e65cbbb36993d9..217e13fa85b151b701e19f0e345f977231ec0b16:/src/generic/textdlgg.cpp 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);