pLookUpSelectList->SetSelection(0);
// Make the OK activate by pressing Enter
- if (pLookUpSelectList->Number())
+ if (pLookUpSelectList->GetCount())
pLookUpOkBtn->SetDefault();
else
{
pLookUpSelectList->SetSelection(0);
// Make the OK activate by pressing Enter
- if (pLookUpSelectList->Number())
+ if (pLookUpSelectList->GetCount())
pLookUpOkBtn->SetDefault();
else
{