<div dir="ltr">On Thu, Oct 2, 2008 at 2:45 PM, Glen Holcomb <span dir="ltr"><<a href="mailto:damnbigman@gmail.com">damnbigman@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">If it is modal I'm not intending it to be but I'll check.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 2:42 PM, Alex Fenton <span dir="ltr"><<a href="mailto:alex@pressure.to" target="_blank">alex@pressure.to</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Glen Holcomb wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have an interesting problem. I have a dialog which refuses to go away once it has finished it's associated code.<br>
<br>
Here is the code:<br>
<br>
</blockquote></div>
...<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
</blockquote>
<br></div>
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?<br>
<br>
alex<br>
_______________________________________________<br>
wxruby-users mailing list<br>
<a href="mailto:wxruby-users@rubyforge.org" target="_blank">wxruby-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/wxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/wxruby-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div><div class="Ih2E3d">-- <br>"Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." <br>
<br>-Greg Graffin (Bad Religion)<br>
</div></div>
</blockquote></div><br>Well end_modal doesn't do anything either. Oddly before clicking on the "okay" button the "cancel" button works, however after the on_okay event is processed the "cancel" button does nothing.<br clear="all">
<br>-- <br>"Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." <br><br>-Greg Graffin (Bad Religion)<br>
</div>