diff --git a/docs/latex/wx/progdlg.tex b/docs/latex/wx/progdlg.tex index 5758f848d5..6fb56019c6 100644 --- a/docs/latex/wx/progdlg.tex +++ b/docs/latex/wx/progdlg.tex @@ -75,7 +75,7 @@ ABORT. \membersection{wxProgressDialog::Update}\label{wxprogressdialogupdate} -\func{bool}{Update}{ +\func{virtual bool}{Update}{ \param{int }{value},\rtfsp \param{const wxString\& }{newmsg = ""}} diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 9fc06a25bf..ee59cb9426 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -55,7 +55,7 @@ public: @param newmsg if used, new message to display @returns true if ABORT button has not been pressed */ - bool Update(int value, const wxString& newmsg = wxT("")); + virtual bool Update(int value, const wxString& newmsg = wxT("")); /* Can be called to continue after the cancel button has been pressed, but the program decided to continue the operation (e.g., user didn't