wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,6 +45,9 @@ All (GUI):
|
||||
book control (for now wxChoicebook for MSSmartphone, wxNotebook for others).
|
||||
Necessary event macros, types and styles mapped accordingly.
|
||||
- new wxBrush::IsHatch() checking for brush type replaces IS_HATCH macro
|
||||
- wxProgressDialog accepts smooth gauge again (wxPD_SMOOTH style)
|
||||
- wxProgressDialog new style: wxPD_CAN_SKIP which provides skipping some parts
|
||||
of the progress (with new "Skip" button in dialog)
|
||||
|
||||
Unix:
|
||||
|
||||
|
@@ -49,9 +49,13 @@ window is disabled, but not to the other ones.}
|
||||
\twocolitem{{\bf wxPD\_AUTO\_HIDE}}{Causes the progress dialog to disappear
|
||||
from screen as soon as the maximum value of the progress meter has been
|
||||
reached.}
|
||||
\twocolitem{{\bf wxPD\_SMOOTH}}{Causes smooth progress of the gauge control.}
|
||||
\twocolitem{{\bf wxPD\_CAN\_ABORT}}{This flag tells the dialog that it should have a
|
||||
"Cancel" button which the user may press. If this happens, the next call to
|
||||
\helpref{Update()}{wxprogressdialogupdate} will return false.}
|
||||
\twocolitem{{\bf wxPD\_CAN\_SKIP}}{This flag tells the dialog that it should have a
|
||||
"Skip" button which the user may press. If this happens, the next call to
|
||||
\helpref{Update()}{wxprogressdialogupdate} will return true in its skip parameter.}
|
||||
\twocolitem{{\bf wxPD\_ELAPSED\_TIME}}{This flag tells the dialog that it should show elapsed time (since creating the dialog).}
|
||||
\twocolitem{{\bf wxPD\_ESTIMATED\_TIME}}{This flag tells the dialog that it should show estimated time.}
|
||||
\twocolitem{{\bf wxPD\_REMAINING\_TIME}}{This flag tells the dialog that it should show remaining time.}
|
||||
@@ -77,7 +81,8 @@ ABORT.
|
||||
|
||||
\func{virtual bool}{Update}{
|
||||
\param{int }{value},\rtfsp
|
||||
\param{const wxString\& }{newmsg = ""}}
|
||||
\param{const wxString\& }{newmsg = ""},\rtfsp
|
||||
\param{bool *}{skip = NULL}}
|
||||
|
||||
Updates the dialog, setting the progress bar to the new value and, if
|
||||
given changes the message above it. Returns true unless the Cancel button
|
||||
@@ -94,4 +99,6 @@ equal to the maximum value given to the constructor and the dialog is closed if
|
||||
it is equal to the maximum.}
|
||||
\docparam{newmsg}{The new messages for the progress dialog text, if it is
|
||||
empty (which is the default) the message is not changed.}
|
||||
\docparam{skip}{If "Skip" button was pressed since last
|
||||
\helpref{Update}{wxprogressdialogupdate} call the skip is true.}
|
||||
|
||||
|
Reference in New Issue
Block a user