Replace wxWidgets-Mac-specific API with a general one.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15817
This commit is contained in:
Jeff Young 2023-10-03 23:40:14 +01:00
parent f2c0f4c87f
commit 10d62ed766
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ void RC_TREE_MODEL::DeleteItems( bool aCurrentOnly, bool aIncludeExclusions, boo
// wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED doesn't get propogated from the Select()
// call on (at least) MSW.
wxDataViewEvent selectEvent( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, m_view, selItem );
m_view->ProcessCommand( selectEvent );
m_view->GetEventHandler()->ProcessEvent( selectEvent );
}
for( RC_TREE_NODE* item : to_delete )