From 01b7f8f29f23bad36e932053bfc113100c4fc2a1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 9 Dec 2007 22:32:12 +0000 Subject: [PATCH] don't use the native implementation if wxTaskBarIcon::ShowBalloon() is not available git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/notifmsg.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/msw/notifmsg.cpp b/src/msw/notifmsg.cpp index 348af4a93f..f5064e68a2 100644 --- a/src/msw/notifmsg.cpp +++ b/src/msw/notifmsg.cpp @@ -23,7 +23,10 @@ #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"