Re: wxRadioBox in Custom Dialog
- Posted by "Brian K. Clark" <bkc02 at health.state.ny.us> Apr 04, 2006
- 518 views
Creating all of the dialogs before the radio box worked. So, I guess I'll just put on my old programmer's blinders and keep moving forward. Thanks Matt Lewis <guest@RapidEupho ria.com> To EUforum at topica.com 04/04/2006 01:51 cc PM Subject Re: wxRadioBox in Custom Dialog Please respond to EUforum at topica.co m 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