projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcbe07
)
fixed initial size of a control with wxDefaultSize: due to SetSize() call in Create...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 20 Dec 2006 10:06:43 +0000
(10:06 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 20 Dec 2006 10:06:43 +0000
(10:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44020
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/textctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/textctrl.cpp
b/src/msw/textctrl.cpp
index f3877df5c1c385625f614e5b029ff112ecebc126..01006a404a3c213b0829958257514277605b512e 100644
(file)
--- a/
src/msw/textctrl.cpp
+++ b/
src/msw/textctrl.cpp
@@
-471,7
+471,7
@@
bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
// Windows XP, so if we're sure it works correctly under other
// systems we could do this only for XP
SetSize(-1, 1); // 1 is small enough to force vert scrollbar
- SetSize(size);
+ Set
Initial
Size(size);
}
else if ( m_windowStyle & wxTE_AUTO_URL )
{