Use wxGA_PROGRESS style for wxGauage in the progress dialog.
Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
95e8cf9dfb
commit
ce1f959dd9
@ -206,6 +206,9 @@ bool wxGenericProgressDialog::Create( const wxString& title,
|
||||
int gauge_style = wxGA_HORIZONTAL;
|
||||
if ( style & wxPD_SMOOTH )
|
||||
gauge_style |= wxGA_SMOOTH;
|
||||
#if wxUSE_TASKBARBUTTON
|
||||
gauge_style |= wxGA_PROGRESS;
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
maximum /= m_factor;
|
||||
|
Loading…
Reference in New Issue
Block a user