Tue Oct 21 08:04:43 2014: Request 99607 was acted upon.
Transaction: Correspondence added by pwnbusiness2...@centurylink.net
       Queue: Wx
     Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: pwnbusiness2...@centurylink.net
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=99607 >


Thanks for the suggestion.  I find it convenient to use explicit identifiers on 
everything since I do need to use explicit identifiers on some things to access 
them in certain situations.  This code sample doesn't reflect that fact, but it 
is a clip from a larger piece.

----- Original Message -----
From: "Steve Cookson via RT" <bug...@rt.cpan.org>
To: pwnbusiness2...@centurylink.net
Sent: Tuesday, October 21, 2014 4:00:48 AM
Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

<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.


Reply via email to