X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdcfde5d20f9dfdef75984802862924a68cdc2e1..e662c3157e7e2150c14825f6a828eef585d00cf1:/samples/taskbar/tbtest.cpp?ds=sidebyside 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);