]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/scoredg.cpp
remove instance init function, memory is already zeroed
[wxWidgets.git] / 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);