Add wxRichMessageDialog class.
This is a generalization of wxMessageDialog based on the native task dialog under recent (Vista and later) Windows versions and implemented generically for the other ports for now. It provides the possibility to use additional controls in the message boxes (checkbox useful for the "Don't ask me again" kind of dialogs and collapsible detailed explanations field) and better look and feel under Windows. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
53
configure
vendored
53
configure
vendored
@@ -1843,6 +1843,7 @@ Optional Features:
|
||||
--enable-popupwin use wxPopUpWindow class
|
||||
--enable-radiobox use wxRadioBox class
|
||||
--enable-radiobtn use wxRadioButton class
|
||||
--enable-richmsgdlg use wxRichMessageDialog class
|
||||
--enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
|
||||
--enable-sash use wxSashWindow class
|
||||
--enable-scrollbar use wxScrollBar class and scrollable windows
|
||||
@@ -9760,6 +9761,7 @@ if test "$wxUSE_CONTROLS" = "no"; then
|
||||
DEFAULT_wxUSE_POPUPWIN=no
|
||||
DEFAULT_wxUSE_RADIOBOX=no
|
||||
DEFAULT_wxUSE_RADIOBTN=no
|
||||
DEFAULT_wxUSE_RICHMSGDLG=no
|
||||
DEFAULT_wxUSE_REARRANGECTRL=no
|
||||
DEFAULT_wxUSE_SASH=no
|
||||
DEFAULT_wxUSE_SCROLLBAR=no
|
||||
@@ -11543,6 +11545,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}-richmsgdlg" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
|
||||
# Check whether --enable-richmsgdlg was given.
|
||||
if test "${enable_richmsgdlg+set}" = set; then
|
||||
enableval=$enable_richmsgdlg;
|
||||
if test "$enableval" = yes; then
|
||||
wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
|
||||
else
|
||||
wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
eval "$wx_cv_use_richmsgdlg"
|
||||
|
||||
if test x"$enablestring" = xdisable; then
|
||||
if test $wxUSE_RICHMSGDLG = no; then
|
||||
result=yes
|
||||
else
|
||||
result=no
|
||||
fi
|
||||
else
|
||||
result=$wxUSE_RICHMSGDLG
|
||||
fi
|
||||
|
||||
{ echo "$as_me:$LINENO: result: $result" >&5
|
||||
echo "${ECHO_T}$result" >&6; }
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
@@ -47195,6 +47241,13 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_RICHMSGDLG" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_RICHMSGDLG 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
if test "$wxUSE_SASH" = "yes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define wxUSE_SASH 1
|
||||
|
Reference in New Issue
Block a user