Hi Patrick, On 21-10-2014 00:52, Patrick via RT wrote:
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.my $self = $ref->SUPER::new( undef, 1, 'Parent Window', Wx::wxDefaultPosition, [500, 500], ); my $panel = Wx::Panel->new( $self, 2 );
Regards, Steve.