]> git.saurik.com Git - wxWidgets.git/commitdiff
Changes required after wxUniv merge wxListBox::Number() changed to wxListBox::GetCount()
authorGeorge Tasker <gtasker@allenbrook.com>
Mon, 2 Jul 2001 13:28:14 +0000 (13:28 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Mon, 2 Jul 2001 13:28:14 +0000 (13:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/db/listdb.cpp

index d4d197a1602dff1e022e2afe35b2fa0a74acaf1f..f60902a4e626ac6bea3f97a2e19ac829e8662cbf 100644 (file)
@@ -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
     {