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:
@@ -206,6 +206,9 @@ bool wxGenericProgressDialog::Create( const wxString& title,
|
|||||||
int gauge_style = wxGA_HORIZONTAL;
|
int gauge_style = wxGA_HORIZONTAL;
|
||||||
if ( style & wxPD_SMOOTH )
|
if ( style & wxPD_SMOOTH )
|
||||||
gauge_style |= wxGA_SMOOTH;
|
gauge_style |= wxGA_SMOOTH;
|
||||||
|
#if wxUSE_TASKBARBUTTON
|
||||||
|
gauge_style |= wxGA_PROGRESS;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
maximum /= m_factor;
|
maximum /= m_factor;
|
||||||
|
Reference in New Issue
Block a user