c++ - wxWidgets widget IDs -
i'm little bit confused how ids work in wxwidgets, have ensure ids across windows create unique each of own functions? if have 2 wxid_ok's 2 different dialog boxes going start firing off events in other windows because share same id?
currently i've been maintaining huge enum grab ids from, seems bit silly though, , wondering if had misunderstanding of going on.
i nerver use id's nowadays. use wxid_any widgets , use widget pointer identification. works , there no reason 2 id's same widget. there might corner cases real id's required have not found any.
Comments
Post a Comment