]> git.saurik.com Git - wxWidgets.git/commitdiff
wxProgressDialog needs progress bar.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 25 Nov 2004 17:00:31 +0000 (17:00 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 25 Nov 2004 17:00:31 +0000 (17:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 613c97068a6370f8ceddcf222be70d6a25a0e5f3..3d05c7c85cc3975b23fb6809d76b44b2eca3cb7f 100644 (file)
 #   endif
 #endif /* wxUSE_FILEDLG */
 
+#if !wxUSE_GAUGE
+#   if wxUSE_PROGRESSDLG
+#       ifdef wxABORT_ON_CONFIG_ERROR
+#           error "Progress dialog require wxUSE_GAUGE"
+#       else
+#           undef wxUSE_GAUGE
+#           define wxUSE_GAUGE 1
+#       endif
+#   endif
+#endif /* !wxUSE_GAUGE */
+
 #if !wxUSE_BUTTON
 #   if wxUSE_PROGRESSDLG || \
        wxUSE_FONTDLG || \
 #           define wxUSE_BUTTON 1
 #       endif
 #   endif
-#endif /* wxUSE_PROGRESSDLG */
+#endif /* !wxUSE_BUTTON */
 
 #if !wxUSE_TOOLBAR
 #   if wxUSE_TOOLBAR_NATIVE