]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use "Cancel" button in the about dialog of the listctrl sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Dec 2012 02:33:04 +0000 (02:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Dec 2012 02:33:04 +0000 (02:33 +0000)
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

index f10280b690d9ffd7ac475a3e761c6bc823ad1d9e..e69a82ceb3ce9b4b277299c0c317f2cef5e36182 100644 (file)
@@ -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();
 }