]> git.saurik.com Git - wxWidgets.git/commitdiff
don't omit wxOK in wxMessageBox() call
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Mar 2009 16:29:23 +0000 (16:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Mar 2009 16:29:23 +0000 (16:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 9003f351d84907874e778369a619e6e411e6a804..f4820fb1d1739da2aa53d447c1218945f45dce32 100644 (file)
@@ -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))