Remove unused variables, unused assignments

This commit is contained in:
Paul Cornett
2019-02-25 09:12:43 -08:00
parent ceee8d554a
commit b5028f267d
7 changed files with 1 additions and 22 deletions

View File

@@ -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());
}