From: Vadim Zeitlin Date: Mon, 10 Dec 2007 12:20:09 +0000 (+0000) Subject: put wxUSE_TASKBARICON_BALLOONS around ShowBalloon() call X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8f00347ae385c0d7a9baabd55ed969e23364dba0 put wxUSE_TASKBARICON_BALLOONS around ShowBalloon() call git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/taskbar/tbtest.cpp b/samples/taskbar/tbtest.cpp index 54f2e79215..397a438fc2 100644 --- a/samples/taskbar/tbtest.cpp +++ b/samples/taskbar/tbtest.cpp @@ -148,7 +148,7 @@ void MyDialog::OnAbout(wxCommandEvent& WXUNUSED(event)) "(C) 1997 Julian Smart\n" "(C) 2007 Vadim Zeitlin"; -#ifdef __WXMSW__ +#if defined(__WXMSW__) && wxUSE_TASKBARICON_BALLOONS m_taskBarIcon->ShowBalloon(title, message, 15000, wxICON_INFORMATION); #else // !__WXMSW__ wxMessageBox(message, title, wxICON_INFORMATION, this);