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:
Vadim Zeitlin
2005-01-30 16:56:15 +00:00
parent 0fcd3b92e3
commit 8cfa09bdab
2 changed files with 9 additions and 4 deletions

View File

@@ -2228,12 +2228,14 @@ be treated as damaged.}
\membersection{wxWindow::RefreshRect}\label{wxwindowrefreshrect}
\func{void}{RefreshRect}{\param{const wxRect\& }{rect}}
\func{void}{RefreshRect}{\param{const wxRect\& }{rect}, \param{bool }{eraseBackground = \true}}
Redraws the contents of the given rectangle: the area inside it will be
Redraws the contents of the given rectangle: only the area inside it will be
repainted.
This is the same as \helpref{Refresh}{wxwindowrefresh} but has a nicer syntax.
This is the same as \helpref{Refresh}{wxwindowrefresh} but has a nicer syntax
as it can be called with a temporary wxRect object as argument like this
\texttt{RefreshRect(wxRect(x, y, w, h))}.
\membersection{wxWindow::RegisterHotKey}\label{wxwindowregisterhotkey}