24 #ifndef _MYPROGRESSDIALOG_H
25 #define _MYPROGRESSDIALOG_H
28 #include <wx/progdlg.h>
35 wxWindow * parent = NULL,
36 int style = wxPD_AUTO_HIDE | wxPD_APP_MODAL | wxPD_CAN_ABORT | wxPD_ELAPSED_TIME)
37 : wxProgressDialog(title, message + wxString((wxChar)
' ', 10), 100, parent, style),
38 ProgressDisplay(maxProgress)
41 void setMessage(
const std::string& message,
const std::string& filename =
"");
43 void setMessage(
const wxString& message,
const wxString& filename = wxEmptyString);
47 bool updateDisplayValue(
const wxString& message,
const wxString& filename = wxEmptyString);
55 #endif // _MYPROGRESSDIALOG_H
virtual void updateProgressDisplay()=0
Template method, updates the display.
bool updateDisplay()
updates the display, return true, if update was successful, false if cancel was pressed ...
void setMessage(const std::string &message, const std::string &filename="")
sets the message to given string
ProgressReporterDialog(int maxProgress, const wxString &title, const wxString &message, wxWindow *parent=NULL, int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL|wxPD_CAN_ABORT|wxPD_ELAPSED_TIME)
bool updateDisplayValue()