From: Vadim Zeitlin Date: Wed, 25 Mar 2009 16:29:23 +0000 (+0000) Subject: don't omit wxOK in wxMessageBox() call X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e8c0d57346585ddc225f3ad1dc6269f1e122de89 don't omit wxOK in wxMessageBox() call git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 9003f351d8..f4820fb1d1 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -680,7 +680,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { (void)wxMessageBox(_T("wxWidgets menu sample\n(c) 1999-2001 Vadim Zeitlin"), _T("About wxWidgets menu sample"), - wxICON_INFORMATION); + wxOK | wxICON_INFORMATION); } void MyFrame::OnDeleteMenu(wxCommandEvent& WXUNUSED(event))