]> git.saurik.com Git - wxWidgets.git/commitdiff
Use determinate mode in native wxMSW wxProgressDialog by default.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Sep 2010 17:25:41 +0000 (17:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Sep 2010 17:25:41 +0000 (17:25 +0000)
The dialog was created in indeterminate ("marquee") mode for some reason.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/progdlg.cpp

index 0167b40762c5679a4b5d6ffa7c1067d3d2111218..4fb41ac65f35001364cc1b04ee5a7d9af2fa99a5 100644 (file)
@@ -750,9 +750,7 @@ void* wxProgressDialogTaskRunner::Entry()
                                        m_sharedData.m_labelCancel );
         }
 
-        tdc.dwFlags |= TDF_CALLBACK_TIMER
-                       | TDF_SHOW_PROGRESS_BAR
-                       | TDF_SHOW_MARQUEE_PROGRESS_BAR;
+        tdc.dwFlags |= TDF_CALLBACK_TIMER | TDF_SHOW_PROGRESS_BAR;
 
         if ( !m_sharedData.m_expandedInformation.empty() )
         {