]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxTextEntryDialog resizable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Sep 2012 22:41:55 +0000 (22:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Sep 2012 22:41:55 +0000 (22:41 +0000)
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

src/generic/textdlgg.cpp

index c2990265e3b83b8aca7fc1117abd9d98e6eece26..b00d192f7bd02ab21af62ced1efb07e8e06dfd33 100644 (file)
@@ -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;
     }