projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f49d6
)
Remove unnecessary Update() in wxStyledTextCtrl scrolling code.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 29 Jul 2012 22:08:24 +0000
(22:08 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 29 Jul 2012 22:08:24 +0000
(22:08 +0000)
Calling Update() every time ScrollText() dramatically slowed down scrolling
and doesn't seem to be necessary, so remove it.
See #9057.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72254
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/stc/ScintillaWX.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/stc/ScintillaWX.cpp
b/src/stc/ScintillaWX.cpp
index 7e1afb39cd91f4ba2aab7dd6fd30f281dbed4151..905bcec38c921dbee6e2c0a9227360d8f6d52210 100644
(file)
--- a/
src/stc/ScintillaWX.cpp
+++ b/
src/stc/ScintillaWX.cpp
@@
-364,7
+364,6
@@
bool ScintillaWX::HaveMouseCapture() {
void ScintillaWX::ScrollText(int linesToMove) {
int dy = vs.lineHeight * (linesToMove);
stc->ScrollWindow(0, dy);
- stc->Update();
}
void ScintillaWX::SetVerticalScrollPos() {