Remove old hack required for wxWidgets 3.0 on MacOS.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16687
This commit is contained in:
Jeff Young 2024-01-21 11:18:59 +00:00
parent 767ab72cdb
commit e07a4c285b
1 changed files with 2 additions and 4 deletions

View File

@ -953,13 +953,11 @@ void DIALOG_DRC::OnCancelClick( wxCommandEvent& aEvent )
void DIALOG_DRC::OnChangingNotebookPage( wxNotebookEvent& aEvent )
{
// Shouldn't be necessary, but is on at least OSX
if( aEvent.GetSelection() >= 0 )
m_Notebook->ChangeSelection( (unsigned) aEvent.GetSelection() );
m_markerDataView->UnselectAll();
m_unconnectedDataView->UnselectAll();
m_footprintsDataView->UnselectAll();
aEvent.Skip();
}