Hi folks,
I applied that patch from above to my CB::20.03 (on M$ Windows) and at first I got an segmentation fault in void ClassBrowserBuilderThread::SelectItem(CCTreeCtrl* tree, wxTreeItemId item ) where data->m_MirrorNode is accessed. The address of m_MirrorNode looked strange to me (sth. like 0xbnnn nnnn) which seemed to be a kind of random address. I found out that this class member is not initialized in the constructor which should now look like
CCTreeCtrlData::CCTreeCtrlData(SpecialFolder sf, Token* token, short int kindMask, int parentIdx) :
m_Token(token),
m_KindMask(kindMask),
m_SpecialFolder(sf),
m_TokenIndex(token ? token->m_Index : -1),
m_TokenKind(token ? token->m_TokenKind : tkUndefined),
m_TokenName(token ? token->m_Name : _T("")),
m_ParentIndex(parentIdx),
m_Ticket(token ? token->GetTicket() : 0),
m_MirrorNode( nullptr )
{
}
Kind regards
Christoph MS