Removing else warning
This commit is contained in:
parent
a2335a763f
commit
c29419826c
|
@ -503,11 +503,13 @@ void wxListBox::SetClientData(int n, char *_client_data)
|
|||
|
||||
void wxListBox::SetSelection(int n, Bool select)
|
||||
{
|
||||
if (0 <= n && n < num_choices)
|
||||
if (select)
|
||||
XfwfMultiListHighlightItem(MULTILIST, n);
|
||||
else
|
||||
XfwfMultiListUnhighlightItem(MULTILIST, n);
|
||||
if (0 <= n && n < num_choices) {
|
||||
if (select) {
|
||||
XfwfMultiListHighlightItem(MULTILIST, n);
|
||||
} else {
|
||||
XfwfMultiListUnhighlightItem(MULTILIST, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void wxListBox::SetOneSelection(int n)
|
||||
|
|
Loading…
Reference in New Issue
Block a user