Re: [rt.cpan.org #99607] Issue using wxTextEntryBox
Steve Cookson <[email protected]>
| Newsgroups | gmane.comp.lang.perl.wxperl |
|---|---|
| Message-ID | <[email protected]> |
Hi Patrick, On 21-10-2014 00:52, Patrick via RT wrote: > my $self = $ref->SUPER::new( undef, > 1, > 'Parent Window', > Wx::wxDefaultPosition, > [500, 500], > ); > my $panel = Wx::Panel->new( $self, > 2 > ); If you use -1 (or wxID_ANY) as the widget ID, it will assign the next free identifier. Then you don't have to keep track of what has already been used. Regards, Steve.