From 8282369a53a317f974d069f7c5cf92aa61782723 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Jan 2004 15:09:08 +0000 Subject: [PATCH] preselect the text in the dialog to allow replacing it easier (just as in the text entry dialog) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/numdlgg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/numdlgg.cpp b/src/generic/numdlgg.cpp index a259657828..be98f28e5a 100644 --- a/src/generic/numdlgg.cpp +++ b/src/generic/numdlgg.cpp @@ -156,6 +156,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent, Centre( wxBOTH ); + m_spinctrl->SetSelection(-1, -1); m_spinctrl->SetFocus(); wxEndBusyCursor(); -- 2.45.2