Initial wxInfoBar implementation.

Add generic implementation, documentation and examples showing the use of the
new class in the samples.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-05 22:54:13 +00:00
parent ffa50e7361
commit a92b5dfe8c
34 changed files with 1001 additions and 4 deletions

54
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 62071 2009-09-24 12:36:34Z JS .
# From configure.in Id.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
#
@@ -1818,6 +1818,7 @@ Optional Features:
--enable-headerctrl use wxHeaderCtrl class
--enable-hyperlink use wxHyperlinkCtrl class
--enable-imaglist use wxImageList class
--enable-infobar use wxInfoBar class
--enable-listbook use wxListbook class
--enable-listbox use wxListBox class
--enable-listctrl use wxListCtrl class
@@ -10886,6 +10887,50 @@ fi
echo "${ECHO_T}$result" >&6; }
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
if test x"$enablestring" = xdisable; then
defaultval=yes
else
defaultval=no
fi
fi
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
# Check whether --enable-infobar was given.
if test "${enable_infobar+set}" = set; then
enableval=$enable_infobar;
if test "$enableval" = yes; then
wx_cv_use_infobar='wxUSE_INFOBAR=yes'
else
wx_cv_use_infobar='wxUSE_INFOBAR=no'
fi
else
wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
fi
eval "$wx_cv_use_infobar"
if test x"$enablestring" = xdisable; then
if test $wxUSE_INFOBAR = no; then
result=yes
else
result=no
fi
else
result=$wxUSE_INFOBAR
fi
{ echo "$as_me:$LINENO: result: $result" >&5
echo "${ECHO_T}$result" >&6; }
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
@@ -45948,6 +45993,13 @@ _ACEOF
fi
if test "$wxUSE_INFOBAR" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_INFOBAR 1
_ACEOF
fi
if test "$wxUSE_LISTBOOK" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_LISTBOOK 1