Add wxUSE_ARTPROVIDER_STD build option.

Make it possible to exclude wxDefaultArtProvider from build. Now that a
Tango-based provider exists, it may make sense to disable the standard bitmaps
if the program doesn't need the few of them not provided by Tango anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-12-31 17:39:37 +00:00
parent c1d2466a79
commit 2e9b5717cd
16 changed files with 195 additions and 8 deletions

View File

@@ -928,6 +928,7 @@ fi
dnl please keep the settings below in alphabetical order
WX_ARG_FEATURE(accel, [ --enable-accel use accelerators], wxUSE_ACCEL)
WX_ARG_FEATURE(animatectrl, [ --enable-animatectrl use wxAnimationCtrl class], wxUSE_ANIMATIONCTRL)
WX_ARG_FEATURE(artstd, [ --enable-artstd use standard XPM icons in wxArtProvider], wxUSE_ARTPROVIDER_STD)
WX_ARG_FEATURE(arttango, [ --enable-arttango use Tango icons in wxArtProvider], wxUSE_ARTPROVIDER_TANGO)
WX_ARG_FEATURE(bmpbutton, [ --enable-bmpbutton use wxBitmapButton class], wxUSE_BMPBUTTON)
WX_ARG_FEATURE(bmpcombobox, [ --enable-bmpcombobox use wxBitmapComboBox class], wxUSE_BITMAPCOMBOBOX)
@@ -7147,6 +7148,10 @@ if test "$wxUSE_ACCESSIBILITY" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
fi
if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
AC_DEFINE(wxUSE_ARTPROVIDER_STD)
fi
if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
dnl Tango-based art provider is not needed in GTK-based ports as the
dnl native art provider completely replaces it.