Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

"Steve Cookson via RT" <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Tue Oct 21 04:00:48 2014: Request 99607 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: Wx
     Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=99607 >


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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.