From: George Tasker Date: Mon, 2 Jul 2001 13:28:14 +0000 (+0000) Subject: Changes required after wxUniv merge wxListBox::Number() changed to wxListBox::GetCount() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2f8f7c77d3daef7fd1715752d3f739b55a0015d7 Changes required after wxUniv merge wxListBox::Number() changed to wxListBox::GetCount() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index d4d197a160..f60902a4e6 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -224,7 +224,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName, pLookUpSelectList->SetSelection(0); // Make the OK activate by pressing Enter - if (pLookUpSelectList->Number()) + if (pLookUpSelectList->GetCount()) pLookUpOkBtn->SetDefault(); else { @@ -384,7 +384,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName, pLookUpSelectList->SetSelection(0); // Make the OK activate by pressing Enter - if (pLookUpSelectList->Number()) + if (pLookUpSelectList->GetCount()) pLookUpOkBtn->SetDefault(); else {