added eraseBg argument to RefreshRect() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -692,7 +692,10 @@ public:
|
||||
const wxRect *rect = (const wxRect *) NULL ) = 0;
|
||||
|
||||
// a less awkward wrapper for Refresh
|
||||
void RefreshRect(const wxRect& rect) { Refresh(true, &rect); }
|
||||
void RefreshRect(const wxRect& rect, bool eraseBackground = true)
|
||||
{
|
||||
Refresh(eraseBackground, &rect);
|
||||
}
|
||||
|
||||
// repaint all invalid areas of the window immediately
|
||||
virtual void Update() { }
|
||||
|
Reference in New Issue
Block a user