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
This commit is contained in:
@@ -224,7 +224,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName,
|
|||||||
pLookUpSelectList->SetSelection(0);
|
pLookUpSelectList->SetSelection(0);
|
||||||
|
|
||||||
// Make the OK activate by pressing Enter
|
// Make the OK activate by pressing Enter
|
||||||
if (pLookUpSelectList->Number())
|
if (pLookUpSelectList->GetCount())
|
||||||
pLookUpOkBtn->SetDefault();
|
pLookUpOkBtn->SetDefault();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -384,7 +384,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, wxChar *windowTitle, wxChar *tableName,
|
|||||||
pLookUpSelectList->SetSelection(0);
|
pLookUpSelectList->SetSelection(0);
|
||||||
|
|
||||||
// Make the OK activate by pressing Enter
|
// Make the OK activate by pressing Enter
|
||||||
if (pLookUpSelectList->Number())
|
if (pLookUpSelectList->GetCount())
|
||||||
pLookUpOkBtn->SetDefault();
|
pLookUpOkBtn->SetDefault();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user