From ce1f959dd9481c97ae9e90ac257e48e78221e874 Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Wed, 10 Sep 2014 14:56:37 +0000 Subject: [PATCH] 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 --- src/generic/progdlgg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 23fbd709ec..31671f2b36 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -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;