On 2005-09-20, David Tweed <[EMAIL PROTECTED]> wrote: > So, you're suggesting that instead of embedding > WInfoWin *tagOut within WFrame, maintain a dictionary > of some sort WFrame ptrs associating them with the > associated WInfoWin*, allowing refactoring into a > module? I'll have a look into this possiblity.
Yes. You'll have to allocate and set up a Watch for each frame as well to keep track of its destroyal, so that you can remove it from the tree. It's probably best to put a structure with the Watch and your data in the dictionary. (The rb-tree code doesn't directly support weak keys :( ). -- Tuomo
