On Wed, 2006-11-01 at 16:36 +0100, Steffen Mueller wrote:
> Hi Peter,
> 
> Peter Gordon schrieb:
> > I am using pp to pack a perl application. It happens to be a wxPerl
> > project and in the example below I have left out all the includes.
> > 
> > I need to read a a file app.xrc from my application. I have used the -a
> > flag. 
> 
> Ah, XRC GUI. Can you tell me how I can get wxglade produced XRC files to 
> work with my own Perl subclasses of Wx::* (e.g. Wx::Panel)? For some 
> reason, the following doesn't bind to the MyPanel Wx::Panel subclass:
>      <object class="wxPanel" name="panel_1" subclass="MyPanel">
> ...

I use DialogBlocks and have the same problem. The solution is to rewrite
the line as :

<object class="MyPanel" name="panel_1" >

Peter

Reply via email to