Add support for wxUSE_TASKBARBUTTON option to configure
Add new --enable-taskbarbutton option and define wxUSE_TASKBARBUTTON as 1 by default instead of always defining it as 0, as was the case before. Closes #22900.
This commit is contained in:
parent
bd75dc392a
commit
ee67242b5f
2 changed files with 41 additions and 0 deletions
36
configure
vendored
36
configure
vendored
|
|
@ -1365,6 +1365,7 @@ enable_ico_cur
|
|||
enable_dccache
|
||||
enable_ps_in_msw
|
||||
enable_ownerdrawn
|
||||
enable_taskbarbutton
|
||||
enable_uxtheme
|
||||
enable_wxdib
|
||||
enable_webviewie
|
||||
|
|
@ -2334,6 +2335,7 @@ Optional Features:
|
|||
--enable-dccache cache temporary wxDC objects (Win32 only)
|
||||
--enable-ps-in-msw use PS printing in wxMSW (Win32 only)
|
||||
--enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
|
||||
--enable-taskbarbutton enable wxTaskBarButton (Win32 only)
|
||||
--enable-uxtheme enable support for Windows XP themed look (Win32 only)
|
||||
--enable-wxdib use wxDIB class (Win32 only)
|
||||
--enable-webviewie use wxWebView IE backend (Win32 only)
|
||||
|
|
@ -12736,6 +12738,35 @@ fi
|
|||
eval "$wx_cv_use_ownerdrawn"
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
if test x"$enablestring" = xdisable; then
|
||||
defaultval=yes
|
||||
else
|
||||
defaultval=no
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check whether --enable-taskbarbutton was given.
|
||||
if test "${enable_taskbarbutton+set}" = set; then :
|
||||
enableval=$enable_taskbarbutton;
|
||||
if test "$enableval" = yes; then
|
||||
wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=yes'
|
||||
else
|
||||
wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=${'DEFAULT_wxUSE_TASKBARBUTTON":-$defaultval}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
eval "$wx_cv_use_taskbarbutton"
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
|
|
@ -40338,6 +40369,11 @@ if test "$wxUSE_MSW" = 1 ; then
|
|||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_TASKBARBUTTON" = "yes"; then
|
||||
$as_echo "#define wxUSE_TASKBARBUTTON 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_UXTHEME" = "yes"; then
|
||||
$as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue