X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db101bd35296e100d490d3c033c0fdee32747e85..e475c7a51385db114263eee33ed57a7aea0ba7d2:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 50fae004cd..5396fe59ee 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -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() { }