From: Vadim Zeitlin Date: Thu, 22 Jan 2004 15:09:08 +0000 (+0000) Subject: preselect the text in the dialog to allow replacing it easier (just as in the text... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8282369a53a317f974d069f7c5cf92aa61782723 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 --- 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();