projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID support (preliminary - not added to bakefiles yet)
[wxWidgets.git]
/
src
/
univ
/
textctrl.cpp
diff --git
a/src/univ/textctrl.cpp
b/src/univ/textctrl.cpp
index 911934d6a153120610966c09995ba1790ef2a0a7..3111cdf4bdfb74ad8209f0f2023e3fe0d04e79b1 100644
(file)
--- a/
src/univ/textctrl.cpp
+++ b/
src/univ/textctrl.cpp
@@
-1585,6
+1585,11
@@
bool wxTextCtrl::IsEditable() const
return m_isEditable && IsEnabled();
}
+void wxTextCtrl::MarkDirty()
+{
+ m_isModified = TRUE;
+}
+
void wxTextCtrl::DiscardEdits()
{
m_isModified = FALSE;
@@
-2340,7
+2345,7
@@
wxSize wxTextCtrl::DoGetBestClientSize() const
lines = 5;
else if ( lines > 10 )
lines = 10;
- h *=
10
;
+ h *=
lines
;
}
wxRect rectText;