]> git.saurik.com Git - wxWidgets.git/commit - src/stc/stc.cpp.in
Reimplement wxTextEntry::DoSetValue() in wxStyledTextCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2012 22:27:44 +0000 (22:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2012 22:27:44 +0000 (22:27 +0000)
commitce364c4ecd5e313e62eb7107dab59b52f267bccb
treef01c83684ae855835fd6bf8318c43ef38aaca468
parent933be2dc3947b4a89d3951e8b34379ecf0467220
Reimplement wxTextEntry::DoSetValue() in wxStyledTextCtrl.

The version inherited from the base class does work already but calling
Scintilla SetText() directly should be more efficient than selecting
everything and then calling ReplaceSelection() as the base class version does,
less code is executed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/stc/stc.h
src/stc/stc.cpp
src/stc/stc.cpp.in
src/stc/stc.h.in