put wxUSE_TASKBARICON_BALLOONS around ShowBalloon() call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-12-10 12:20:09 +00:00
parent 07e9ca2831
commit 8f00347ae3

View File

@ -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);