projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set CHRBITS to the "correct" amount.
[wxWidgets.git]
/
src
/
univ
/
textctrl.cpp
diff --git
a/src/univ/textctrl.cpp
b/src/univ/textctrl.cpp
index 1538bcefd067d11f4b8217cba74753f77b4f1f89..3111cdf4bdfb74ad8209f0f2023e3fe0d04e79b1 100644
(file)
--- a/
src/univ/textctrl.cpp
+++ b/
src/univ/textctrl.cpp
@@
-2345,7
+2345,7
@@
wxSize wxTextCtrl::DoGetBestClientSize() const
lines = 5;
else if ( lines > 10 )
lines = 10;
- h *=
10
;
+ h *=
lines
;
}
wxRect rectText;