1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows

2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-12 00:26:21 +00:00
parent 5028104652
commit cbc66a2704
10 changed files with 128 additions and 90 deletions

View File

@@ -97,11 +97,16 @@ private:
Continue, // can be cancelled but wasn't
Finished // finished, waiting to be removed from screen
} m_state;
// the abort button (or NULL if none)
wxButton *m_btnAbort;
// the maximum value
int m_maximum;
// for wxPD_APP_MODAL case
class WXDLLEXPORT wxWindowDisabler *m_winDisabler;
DECLARE_EVENT_TABLE()
};
#endif