[wxruby-users] WX::Dialog won't close
Glen Holcomb
damnbigman at gmail.com
Thu Oct 2 16:45:34 EDT 2008
If it is modal I'm not intending it to be but I'll check.
On Thu, Oct 2, 2008 at 2:42 PM, Alex Fenton <alex at pressure.to> wrote:
> 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
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20081002/d8e693d2/attachment.html>
More information about the wxruby-users
mailing list