smanders / godric

0 stars 0 forks source link

use wxVListBox-derived control instead of wxListBox #2

Open smanders opened 3 years ago

smanders commented 3 years ago

https://docs.wxwidgets.org/3.1.0/classwx_v_list_box.html

main differences from a regular wxListBox: it can have an arbitrarily huge number of items because it doesn't store them itself

this should improve the performance when a large input directory is selected and the current appending of all the directory items to a wxListBox shouldn't be as expensive

smanders commented 3 years ago

maybe this is still something to pursue? currently (v1.4) limiting the number shown in the list box to 150