c++ - WxWidgets - wxlistbox - store more then string -


can store more informations in wxlistbox string?

i store there objects (from 1 class), possible?

wxlistbox, many other controls, has concept of "client data" i.e. arbitrary pointer can associated each item. don't recommended use however, better maintain objects separately in std::vector<>, do, judging other questions. won't happen automatically however, need update both listbox , vector when insert/delete/update items.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -