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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user