Fix the typo ("> 0" was used instead of ">= 0") introduced in r63731.
Closes #11844.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63734
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Set the selection
void wxSingleChoiceDialog::SetSelection(int sel)
{
// Set the selection
void wxSingleChoiceDialog::SetSelection(int sel)
{
- wxCHECK_RET( sel > 0 && (unsigned)sel < m_listbox->GetCount(),
+ wxCHECK_RET( sel >= 0 && (unsigned)sel < m_listbox->GetCount(),
"Invalid initial selection" );
m_listbox->SetSelection(sel);
"Invalid initial selection" );
m_listbox->SetSelection(sel);