Replace WinEDAChoiceBox with wxComboBox.

This commit is contained in:
Wayne Stambaugh
2011-04-19 15:19:41 -04:00
parent cb3e36f04b
commit dcccaee2aa
19 changed files with 82 additions and 112 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ void EDA_DRAW_FRAME::OnSelectZoom( wxCommandEvent& event )
if( m_SelZoomBox == NULL )
return; // Should not happen!
int id = m_SelZoomBox->GetChoice();
int id = m_SelZoomBox->GetCurrentSelection();
if( id < 0 || !( id < (int)m_SelZoomBox->GetCount() ) )
return;