5#include <wx/textctrl.h>
26 bool UpdateProgress(
int current,
int max,
const wxString &message = wxEmptyString);
33 void AppendLog(
const wxString &message,
const wxString &prefix =
"");
57 void OnCancel(wxCommandEvent &event);
58 void OnClose(wxCloseEvent &event);
DPI-aware dialog base class for scalable layouts.
void MarkComplete()
Mark loading as complete and change button to "Close".
wxButton * cancel_button_
void OnCancel(wxCommandEvent &event)
void OnClose(wxCloseEvent &event)
void ClearLog()
Clear all log messages.
void SetMaxProgress(int max)
Set the maximum value for the progress bar.
bool UpdateProgress(int current, int max, const wxString &message=wxEmptyString)
Update progress and optionally add a log message.
wxStaticText * status_label_
bool WasCancelled() const
Check if the user requested cancellation.
LoadingDialog(wxWindow *parent, const wxString &title)
void AppendLog(const wxString &message, const wxString &prefix="")
Add a log message without updating progress.