- /// 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
+ // under the lastWindow and modify it to be the same as the control created
+ // (which is returned)
+ wxStaticText *CreateLabel(const wxString& text, wxWindow **lastWindow);
+
+ // 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())