1. (hopefully) fixed horz scrolling
2. only refresh part of line in Replace() 3. changed wxWindow::Refresh() to take client coordinates 4. only refresh the text which must be refreshed when selection changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
||||
virtual int GetScrollThumb(int orient) const;
|
||||
virtual int GetScrollRange(int orient) const;
|
||||
virtual void ScrollWindow(int dx, int dy,
|
||||
const wxRect* rect = (wxRect *) NULL);
|
||||
const wxRect* rect = (wxRect *) NULL);
|
||||
|
||||
// take into account the borders here
|
||||
virtual wxPoint GetClientAreaOrigin() const;
|
||||
@@ -150,9 +150,19 @@ public:
|
||||
// querying the current theme
|
||||
wxRenderer *GetRenderer() const { return m_renderer; }
|
||||
|
||||
// scrolling helper: like ScrollWindow() except that it doesn't refresh the
|
||||
// uncovered window areas but returns the rectangle to update (don't call
|
||||
// this with both dx and dy non zero)
|
||||
wxRect ScrollNoRefresh(int dx, int dy, const wxRect *rect = NULL);
|
||||
|
||||
// overridden base class methods
|
||||
// -----------------------------
|
||||
|
||||
// the rect coordinates are, for us, in client coords, but if no rect is
|
||||
// specified, the entire window is refreshed
|
||||
virtual void Refresh(bool eraseBackground = TRUE,
|
||||
const wxRect *rect = (const wxRect *) NULL);
|
||||
|
||||
// remember that the font/colour was changed
|
||||
virtual bool SetBackgroundColour(const wxColour& colour);
|
||||
virtual bool SetForegroundColour(const wxColour& colour);
|
||||
|
Reference in New Issue
Block a user