From 87f0b1323b7ac77f02133b836c8dfee63b0fd387 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 22 Dec 2012 02:33:04 +0000 Subject: [PATCH] Don't use "Cancel" button in the about dialog of the listctrl sample. No real changes, just remove the unnecessary button. See #14618. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/listctrl/listtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index f10280b690..e69a82ceb3 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -337,7 +337,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { wxMessageDialog dialog(this, wxT("List test sample\nJulian Smart (c) 1997"), - wxT("About list test"), wxOK|wxCANCEL); + wxT("About list test")); dialog.ShowModal(); } -- 2.50.0