]> git.saurik.com Git - wxWidgets.git/commitdiff
Define wxUSE_TASKBARICON_BALLOONS as 1 for wxMSW builds using configure.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:32 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:32 +0000 (12:53 +0000)
Defining it as 1 is better than not allowing to set it at all and this setting
is not important enough to warrant its own command-line configure option.

Closes #14106.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index e0050ad5560585a0b2c76b220241956b2d30c28e..b91aa765959b8c6b96079f76cb8d0ba6ae066ad3 100755 (executable)
--- a/configure
+++ b/configure
 if test "$wxUSE_TASKBARICON" = "yes"; then
     cat >>confdefs.h <<\_ACEOF
 #define wxUSE_TASKBARICON 1
+_ACEOF
+
+                cat >>confdefs.h <<\_ACEOF
+#define wxUSE_TASKBARICON_BALLOONS 1
 _ACEOF
 
     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
index 1423cbb8d7ed49a9558eead595ac4ffe1574f855..613a505c6c5edf463e618da94a5f4dd08ae59328 100644 (file)
@@ -7225,6 +7225,10 @@ fi
 
 if test "$wxUSE_TASKBARICON" = "yes"; then
     AC_DEFINE(wxUSE_TASKBARICON)
+    dnl This is used under MSW, just enable it always without testing for the
+    dnl toolkit nor providing a separate option for it because it's totally
+    dnl harmless to have it defined even if it's unnecessary.
+    AC_DEFINE(wxUSE_TASKBARICON_BALLOONS)
     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
 fi