[wxruby-users] WX::Dialog won't close

Alex Fenton alex at pressure.to
Thu Oct 2 16:42:06 EDT 2008


Glen Holcomb wrote:
> I have an interesting problem.  I have a dialog which refuses to go 
> away once it has finished it's associated code.
>
> Here is the code:
>
...
> After filling out the proper information and clicking on okay the data 
> is populated however when it finishes the dialog hangs around.  
> Furthermore it won't close when you click on Cancel or the Window 
> close widget (the X in my case).  The log line executes just fine, the 
> dialog just refuses to close.

I haven't tried out your code, but maybe you need to call end_modal, if 
you're calling show_modal to start the dialog?

alex


More information about the wxruby-users mailing list