../src/osx/cocoa/combobox.mm(209): assert "item >= 0 && item < [m_comboBox numberOfItems]" failed in SetSelectedItem(): Inavlid item index.
Call stack:
[00] DlgPosSelection::OnSceneSelected(wxCommandEvent&)
[01] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[02] wxEvtHandler::ProcessEventLocally(wxEvent&)
[03] wxEvtHandler::ProcessEvent(wxEvent&)
[04] wxEvtHandler::ProcessPendingEvents()
[05] wxAppConsoleBase::ProcessPendingEvents()
[06] wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*)
[07] __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
[08] __CFRunLoopDoObservers
[09] __CFRunLoopRun
[10] CFRunLoopRunSpecific
[11] RunCurrentEventLoopInMode
[12] ReceiveNextEventCommon
[13] _BlockUntilNextEventMatchingListInModeWithFilter
[14] _DPSNextEvent
[15] -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
[16] -[NSApplication _realDoModalLoop:peek:]
[17] -[NSApplication runModalSession:]
[18] wxGUIEventLoop::DoDispatchTimeout(unsigned long)
[19] wxCFEventLoop::DispatchTimeout(unsigned long)
[20] wxCFEventLoop::OSXDoRun()
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.