]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use the native implementation if wxTaskBarIcon::ShowBalloon() is not available
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2007 22:32:12 +0000 (22:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2007 22:32:12 +0000 (22:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notifmsg.cpp

index 348af4a93f3dc3b7129825cc3a2362c511bc06d0..f5064e68a2f93efd2c9694b1b97fd87f5ed5aea0 100644 (file)
     #pragma hdrstop
 #endif
 
-#if wxUSE_NOTIFICATION_MESSAGE && wxUSE_TASKBARICON
+// we can only use the native implementation if we have a working
+// wxTaskBarIcon::ShowBalloon() method
+#if wxUSE_NOTIFICATION_MESSAGE && \
+        wxUSE_TASKBARICON && wxUSE_TASKBARICON_BALLOONS
 
 #include "wx/notifmsg.h"