From 8f00347ae385c0d7a9baabd55ed969e23364dba0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 Dec 2007 12:20:09 +0000 Subject: [PATCH] put wxUSE_TASKBARICON_BALLOONS around ShowBalloon() call git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/taskbar/tbtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2