User forums > Nightly builds

The 03 July 2021 build (12483) is out.

<< < (3/3)

Pecan:

--- Quote from: Miguel Gimenez on July 07, 2021, 08:59:00 pm ---Are you sure the problem is not in this code (from btswitcherdlg.cpp)?


--- Code: ---BEGIN_EVENT_TABLE(wxSwitcherDialog, wxScrollingDialog)
    EVT_CLOSE(wxSwitcherDialog::OnCloseWindow)
    EVT_ACTIVATE(wxSwitcherDialog::OnActivate)
    EVT_LISTBOX(wxID_ANY, wxSwitcherDialog::OnSelectItem)
    EVT_PAINT(wxSwitcherDialog::OnPaint)
END_EVENT_TABLE()

--- End code ---

because the assert specify wxEventTableEntryBase(), not Connect(). Also, the assert appeared between 12458 and 12483, and the file above was added in 12470.

--- End quote ---

I'm sure. I used debug to trace to the connect() statement.
And it makes sense. The connect() was using a range of id's created by XRCID() expressions which were not sequential. So wx complained.

I separated the connects() and the problem went away.
Also, the problem was in DragScroll, not BrowseTracker.

Thanks.

Navigation

[0] Message Index

[*] Previous page

Go to full version