Re: wxRadioBox in Custom Dialog
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Apr 04, 2006
- 501 views
Brian K. Clark wrote: > > > Hello All, > Is this strange behavior, or am I doing something stupid? I'm guessing > it's me. When I add a wxRadioBox (D1RadioBox) to the custom dialog > (Dialog1) in the code below, it affects whether the main frame (MainFrame) > is active when I return from Dialog2. If I remove the radio box from > dialog 1, both dialogs return to an active main frame. With the radio box > in dialog 1, dialog 1 returns to an active main frame and dialog 2 returns > to an inactive main frame. > Perplexed, That's really strange. If you create dialog 2 first, you don't get the strange behavior. In fact, as long as you create the radio box after you create dialog 2, it works correctly. I have no idea why this is. Matt Lewis