my codeblocks edition is 20.03,wxWidgets is 3.2.6。when i pull a wxGrid control into wxPanel,and changed it's size, show alert dialog as follow:
wxWidgets Debug Alert" dialog:
....\include/wx/generic/grid.h(1522): assert "idx >=0 && idx < m_numCols" failed in GetColPos():invalid column index.
but this alert dialog never showed in old codeblocks edition.I don't know why?
Pay attention:: I just operated in Resources , was not debugging my program.
wxWidgets started showing alerts in wx3.0 whenever an incoherency was detected. 20.03 was released with wx2.8.12, so it did not show alerts. I do not know why you are using 20.03 linked with 3.2.6, but this mixing is the root cause.
The current nightly (and the upcoming release), linked with wx3.2.6, have these alerts fixed (mostly).
Perhaps, many people still use CB 20.03 as it is the latest version you published with an installer...
thanks a lot for reply.
because i have not upgraded code::blocks and wxWidgets for a long time. so when i want to upgrade them. i downloaded their latest version at the same time . I did not know their version not matching.