Add proper support for wxUSE_NATIVE_PROGRESSDLG

This symbol was wrongly added to include/wx/msw/setup0.h directly in
075ef6551e, so it didn't work when
cross-compiling from Unix (which doesn't use this file) and would have been
lost after any future modification of include/wx/setup_inc.h where it should
have been added in the first place.

Do this now and also make the check for this symbol in wx/progdlg.h a bit more
readable.
This commit is contained in:
Vadim Zeitlin
2015-12-30 18:51:48 +01:00
parent ed0b899fe5
commit 52a4fac626
11 changed files with 45 additions and 5 deletions

View File

@@ -1214,6 +1214,10 @@
// progress dialog class for lengthy operations
#define wxUSE_PROGRESSDLG 1
// Set to 0 to disable the use of the native progress dialog (currently only
// available under MSW and suffering from some bugs there, hence this option).
#define wxUSE_NATIVE_PROGRESSDLG 1
// support for startup tips (wxShowTip &c)
#define wxUSE_STARTUP_TIPS 1