From: Francesco Montorsi Date: Mon, 5 Jan 2009 16:15:09 +0000 (+0000) Subject: fix crash because of a missing wxOK constant X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/954360caca5365fb28fc52e4d575741233a1f881?ds=inline fix crash because of a missing wxOK constant git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/taskbar/tbtest.cpp b/samples/taskbar/tbtest.cpp index 9723e48ae0..9256009cdd 100644 --- a/samples/taskbar/tbtest.cpp +++ b/samples/taskbar/tbtest.cpp @@ -161,7 +161,7 @@ void MyDialog::OnAbout(wxCommandEvent& WXUNUSED(event)) #if defined(__WXMSW__) && wxUSE_TASKBARICON_BALLOONS m_taskBarIcon->ShowBalloon(title, message, 15000, wxICON_INFORMATION); #else // !__WXMSW__ - wxMessageBox(message, title, wxICON_INFORMATION, this); + wxMessageBox(message, title, wxICON_INFORMATION|wxOK, this); #endif // __WXMSW__/!__WXMSW__ }