Made the generic progress dialog the default for wxMSW until we have corrected two kinds of seizure-inducing flicker

This commit is contained in:
JulianSmart
2015-11-30 23:07:34 +00:00
parent 125f09f495
commit 075ef6551e
3 changed files with 5 additions and 2 deletions

View File

@@ -1215,6 +1215,9 @@
// progress dialog class for lengthy operations
#define wxUSE_PROGRESSDLG 1
// native MSW progress dialog class, flickering not yet debugged
#define wxUSE_NATIVE_PROGRESSDLG 0
// support for startup tips (wxShowTip &c)
#define wxUSE_STARTUP_TIPS 1

View File

@@ -30,7 +30,7 @@
#include "wx/generic/progdlgg.h"
#if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__)
#if defined(__WXMSW__) && wxUSE_THREADS && !defined(__WXUNIVERSAL__) && wxUSE_NATIVE_PROGRESSDLG
#include "wx/msw/progdlg.h"
#else
class WXDLLIMPEXP_CORE wxProgressDialog

View File

@@ -22,7 +22,7 @@
#pragma hdrstop
#endif
#if wxUSE_PROGRESSDLG && wxUSE_THREADS
#if wxUSE_PROGRESSDLG && wxUSE_THREADS && wxUSE_NATIVE_PROGRESSDLG
#include "wx/progdlg.h"