- /// the status bar
- class wxGauge *m_gauge;
- /// the message displayed
- class wxStaticText *m_msg;
- /// disable all or parent window only
- bool m_disableParentOnly;
- /// displayed elapsed, estimated, remaining time
- class wxStaticText *m_elapsed, *m_estimated, *m_remaining;
- /// time when the dialog was created or NULL
- class wxTime *m_time;
- /// parent window
- class wxWindow *m_parent;
- /// continue processing or not (return value for Update())
+ // create the label with given text and another one to show the time nearby
+ // as the next windows in the sizer, returns the created control
+ wxStaticText *CreateLabel(const wxString& text, wxSizer *sizer);
+
+ // the status bar
+ wxGauge *m_gauge;
+ // the message displayed
+ wxStaticText *m_msg;
+ // displayed elapsed, estimated, remaining time
+ class wxStaticText *m_elapsed,
+ *m_estimated,
+ *m_remaining;
+ // time when the dialog was created
+ unsigned long m_timeStart;
+
+ // parent top level window (may be NULL)
+ wxWindow *m_parentTop;
+
+ // continue processing or not (return value for Update())