]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated function
authorPaul Cornett <paulcor@bullseye.com>
Fri, 23 Dec 2011 17:38:30 +0000 (17:38 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 23 Dec 2011 17:38:30 +0000 (17:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/forty/scoredg.cpp

index b12e16f2c2ef4762eb9c27a90f1444159b5526af..07cbb2487e8a50a7216094eac9987c06fa5d7406 100644 (file)
@@ -167,7 +167,7 @@ ScoreDialog::ScoreDialog(wxWindow* parent, ScoreFile* file) :
     list->SetColLabelValue(1, wxT("Wins"));
     list->SetColLabelValue(2, wxT("Games"));
     list->SetColLabelValue(3, wxT("Score"));
-    list->SetEditable(false);
+    list->EnableEditing(false);
     list->AutoSizeColumns();
     list->AutoSizeRows();
     list->SetRowLabelSize(0);