Remove unused variables, unused assignments
This commit is contained in:
@@ -554,10 +554,6 @@ void BitmapComboBoxWidgetsPage::OnButtonInsert(wxCommandEvent& WXUNUSED(event))
|
||||
m_textInsert->SetValue(wxString::Format("test item %u", ++s_item));
|
||||
}
|
||||
|
||||
int sel = m_combobox->GetSelection();
|
||||
if ( sel == wxNOT_FOUND )
|
||||
sel = m_combobox->GetCount();
|
||||
|
||||
m_combobox->Insert(s, wxNullBitmap, m_combobox->GetSelection());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user