Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Assertion in JumpTracker

<< < (2/2)

LETARTARE:
Leap-15.6-64bits, gcc-1520, wx-328, gtk3-unicode-3.2
Cb13752
Identical problem :
I did this :

--- Code: ---void SetJumpTrackerViewIndex(int itemIndex)
{
    if (itemIndex < 0)
return;
    int knt = m_pListCtrl->GetItemCount();
    if (knt < 0)
        return;
    if (itemIndex >= knt)
return; //setting index before adding the item

    m_pListCtrl->SetItemState(itemIndex, wxLIST_STATE_SELECTED                                                   , wxLIST_STATE_SELECTED);
}
--- End code ---

I'm testing a day ...

Pecan:
Fixes applied svn 13753
Thanks

Navigation

[0] Message Index

[*] Previous page

Go to full version