wxTextCtrl:

1. now only scroll the visible text, not the entire text rect
2. don't draw the columns before the leftmost (visible) one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-30 00:43:45 +00:00
parent 8dd0bb9ab7
commit f03ccf7b5b
2 changed files with 21 additions and 4 deletions

View File

@@ -291,10 +291,11 @@ private:
// the rectangle (in client coordinates) to draw text inside
wxRect m_rectText;
// for the controls without horz scrollbar: the offset by which the window
// is scrolled to the right and the first visible position
// for the controls without horz scrollbar only: the position of the first
// and last visible pixels and the first visible column
wxCoord m_ofsHorz,
m_posLastVisible;
long m_colStart;
wxCoord m_ofsHorz;
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxTextCtrl)