9 #include "wx/progdlg.h"
10 #include "wx/dialog.h"
25 wxWindow *parent = NULL,
26 int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE);
37 virtual bool Update(
int value1,
int value2,
const wxString& newmsg = wxEmptyString);
40 virtual void Update() { wxDialog::Update(); }
47 virtual bool Show(
bool show =
true );
51 void OnCancel(wxCommandEvent&
event);
54 void OnClose(wxCloseEvent& event);
58 void ReenableOtherWindows();
63 wxStaticText *CreateLabel(
const wxString& text, wxSizer *sizer);
66 void UpdateMessage(
const wxString &newmsg);
73 void EnableAbort(
bool enable=
true);
74 inline void DisableAbort() { EnableAbort(
false); }
86 wxWindow *m_parentTop;
109 unsigned long m_display_estimated;
111 bool m_hasAbortButton;
113 #if defined(__WXMSW__ ) || defined(__WXPM__)
120 class WXDLLEXPORT wxWindowDisabler *m_winDisabler;
122 DECLARE_EVENT_TABLE()