From 19de4eecd5d48c18bfdc040e763f69a6d8168599 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Jul 2003 22:24:54 +0000 Subject: [PATCH] select all text initially in the control (part of patch 649438) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/textdlgg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 9203e89fcc..55772c3c0e 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -114,6 +114,7 @@ wxTextEntryDialog::wxTextEntryDialog(wxWindow *parent, Centre( wxBOTH ); + m_textctrl->SetSelection(-1, -1); m_textctrl->SetFocus(); wxEndBusyCursor(); -- 2.45.2