From: Vadim Zeitlin Date: Thu, 27 Sep 2012 22:41:55 +0000 (+0000) Subject: Make wxTextEntryDialog resizable. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/97c15a53f2e0a9784c58e7d151cd4e64625aa5f1 Make wxTextEntryDialog resizable. It can be used for entry of relatively long text now, especially when wxTE_MULTILINE flag is used, so allow the user to resize it to facilitate the entry. Closes #14702. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index c2990265e3..b00d192f7b 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -75,7 +75,7 @@ bool wxTextEntryDialog::Create(wxWindow *parent, if ( !wxDialog::Create(GetParentForModalDialog(parent, style), wxID_ANY, caption, pos, wxDefaultSize, - wxDEFAULT_DIALOG_STYLE) ) + wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) ) { return false; }