fixed wxProgressDialog for ranges > 65535

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-22 02:14:38 +00:00
parent 1ccabb813a
commit 7c349adb6e
3 changed files with 22 additions and 7 deletions

View File

@@ -112,6 +112,12 @@ private:
// the maximum value
int m_maximum;
#ifdef __WXMSW__
// the factor we use to always keep the value in 16 bit range as the native
// control only supports ranges from 0 to 65,535
size_t m_factor;
#endif // __WXMSW__
// for wxPD_APP_MODAL case
class WXDLLEXPORT wxWindowDisabler *m_winDisabler;