<?xml version="1.0" encoding="windows-1252"?>
<node id="290577" title="Re: Re: Re: WxPerl Login Dialog" created="2003-09-10 21:51:57" updated="2005-08-15 01:06:31">
<type id="11">
note</type>
<author id="107642">
PodMaster</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;
If ShowModal returns true, the app hangs...
&lt;/i&gt;&lt;/blockquote&gt;
That's because you've turned control over to wxWindows,
but there is nothing telling the app to die (basically, you need to $app-&gt;SetTopWindow($dialog) if you want the application to exit when the window is destroyed).
&lt;p&gt;
&lt;blockquote&gt;&lt;i&gt;
but I still think returning false from OnInit should be perfectly valid.
&lt;/i&gt;&lt;/blockquote&gt;
I'd say I agree with you (even though I've never had the need/urge to do that),
but I suspect there might be a real good reason for this (a &lt;i&gt;carp&lt;/i&gt; would be fine with me -- you should definetly inquire on the list).
&lt;P&gt;
&lt;b&gt;update:&lt;/B&gt; I almost forgot, it's called wxPerl, not WxPerl ;)
&lt;p&gt;&lt;table border=0 cellpadding=1 cellspacing=0 width="100%"&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFF0FF"&gt;&lt;small&gt;&lt;font color="black"&gt;&lt;a href="http://perlmonks.org/index.pl?node=MJD"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;MJD&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; &lt;a href="http://www.perl.org/yapc/2002/movies/themovie/"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;says&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; "you &lt;i&gt;can't just make shit up and expect the computer to know what you mean, retardo&lt;/i&gt;&lt;B&gt;!&lt;/B&gt;"&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFE0FF"&gt;&lt;font color="black"&gt;&lt;small&gt;I run a Win32 PPM &lt;a href="http://perlmonks.org/index.pl?node=162391"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;repository&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; for perl &lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;5.6.x&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; and &lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/5.8"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;5.8.x&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; -- I take requests (&lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/README.html"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;README&lt;/font&gt;&lt;/b&gt;&lt;/a&gt;).&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFD0FF"&gt;&lt;small&gt;&lt;font color="black"&gt;** The third rule of perl club is a statement of fact: pod is sexy.&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</field>
<field name="root_node">
290475</field>
<field name="parent_node">
290550</field>
</data>
</node>
