startup tips for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,6 +144,11 @@
|
||||
*/
|
||||
#define wxUSE_TEXTDLG 0
|
||||
|
||||
/*
|
||||
* Use startup tips
|
||||
*/
|
||||
#define wxUSE_STARTUP_TIPS 0
|
||||
|
||||
/*
|
||||
* Use progress dialog
|
||||
*/
|
||||
|
11
configure.in
11
configure.in
@@ -289,6 +289,7 @@ if test $DEBUG_CONFIGURE = 1; then
|
||||
DEFAULT_wxUSE_COMMONDLGS=no
|
||||
DEFAULT_wxUSE_DIRDLG=no
|
||||
DEFAULT_wxUSE_TEXTDLG=no
|
||||
DEFAULT_wxUSE_STARTUP_TIPS=no
|
||||
DEFAULT_wxUSE_PROGRESSDLG=no
|
||||
DEFAULT_wxUSE_MINIFRAME=no
|
||||
DEFAULT_wxUSE_VALIDATORS=yes
|
||||
@@ -387,6 +388,7 @@ else
|
||||
DEFAULT_wxUSE_COMMONDLGS=yes
|
||||
DEFAULT_wxUSE_DIRDLG=yes
|
||||
DEFAULT_wxUSE_TEXTDLG=yes
|
||||
DEFAULT_wxUSE_STARTUP_TIPS=yes
|
||||
DEFAULT_wxUSE_PROGRESSDLG=yes
|
||||
DEFAULT_wxUSE_MINIFRAME=yes
|
||||
DEFAULT_wxUSE_VALIDATORS=yes
|
||||
@@ -670,6 +672,7 @@ dnl ---------------------------------------------------------------------------
|
||||
WX_ARG_ENABLE(commondlg, [ --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)], wxUSE_COMMONDLGS)
|
||||
WX_ARG_ENABLE(dirdlg, [ --enable-dirdlg use wxDirDialog], wxUSE_DIRDLG)
|
||||
WX_ARG_ENABLE(textdlg, [ --enable-textdlg use wxTextDialog], wxUSE_TEXTDLG)
|
||||
WX_ARG_ENABLE(tipdlg, [ --enable-tipdlg use startup tips], wxUSE_STARTUP_TIPS)
|
||||
WX_ARG_ENABLE(progressdlg, [ --enable-progressdlg use wxProgressDialog], wxUSE_PROGRESSDLG)
|
||||
WX_ARG_ENABLE(miniframe, [ --enable-miniframe use wxMiniFrame class], wxUSE_MINIFRAME)
|
||||
WX_ARG_ENABLE(tooltips, [ --enable-tooltips use wxToolTip class], wxUSE_TOOLTIPS)
|
||||
@@ -1969,6 +1972,14 @@ if test "$wxUSE_TEXTDLG" = "yes"; then
|
||||
AC_DEFINE(wxUSE_TEXTDLG)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_STARTUP_TIPS" = "yes"; then
|
||||
if test "$wxUSE_CONSTRAINTS" != "yes"; then
|
||||
AC_MSG_WARN(Startup tips requires constraints and won't be compiled without them)
|
||||
else
|
||||
AC_DEFINE(wxUSE_STARTUP_TIPS)
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_PROGRESSDLG" = "yes"; then
|
||||
if test "$wxUSE_CONSTRAINTS" != "yes"; then
|
||||
AC_MSG_WARN(wxProgressDialog requires constraints so it won't be compiled without them)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char *magick[] = {
|
||||
static char *tipIcon[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 7 1",
|
||||
" c Gray0",
|
||||
|
Reference in New Issue
Block a user