wxwidgets - Assert in call to wxDataViewListCtrl::EditItem in a second wxDataViewListCtrl -


i'm getting following assert when wxdataviewlistctrl::edititem called second time.

../../src/wxwidgets/src/gtk/dataview.cpp(221): assert "gtk_tree_selection_get_select_function(m_selection) == func" failed in checkcurrentselectionfunc(): selection function has changed unexpectedly, review code! 

see code @ https://pastebin.com/tetk5c7s

to reproduce: choose menu, show dialog. in dialog choose add , close. again choose menu, show dialog , in dialog choose add.

ubuntu 17.04 x64, tested master, wx_3_0_branch , wx_3_0_3_branch configured --enable-debug --enable-unicode --disable-universal default config gtk2-unicode-3.0

edit: after further testing found assert occurs in call edititem in second wxdataviewlistctrl.

this bug in wxwidgets, reporting it.

fixed in both master , 3.0 branch , work in 3.0.4 , 3.1.1 when they're released.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -