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:
Bryan Petty 2014-09-10 14:56:37 +00:00
parent 95e8cf9dfb
commit ce1f959dd9

View File

@ -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;