From: David R. <DR...@kn...> - 2002-03-23 20:18:24
|
> > using wxPerl 0.10... > Platform? sorry, Win2K. =20 > > i am unable to create a Wx::CheckListBox - i get a violation each > > time, although replacing the class with Wx::ListBox works fine. > I have got a single segfault, and am not able to reproduce it... > Could you please send me a snippet of code that segfaults for you > ( please send a "complete" program, so I can do "perl foo.pl" on it ) > A modification of the minimal sample would be great. all i need to do to reproduce it is change the controls.pl sample (line 157) from: $this->{LISTBOX} =3D Wx::ListBox->new( $panel, $ID_LISTBOX, [10, 10], [120, 70], $choices, wxLB_ALWAYS_SB ); to: $this->{LISTBOX} =3D Wx::CheckListBox->new( $panel, $ID_LISTBOX, [10, = 10], [120, 70], $choices, wxLB_ALWAYS_SB ); and i get... perl.exe - Application Error The instruction at "0x00ffffff" referenced memory at "0x00ffffff". The memory could not be "read". OK to terminate, Cancel to debug if you need another (stand-alone) example, i'll put one together, but i think the above should suffice. can i just take this opportunity to say i just love wxPerl - it's the proverbial dogs bollocks. i've done GUIs under Win16/Win32, more = recently HTML generated from Perl back-ends. wxPerl is a delight to use and, Mattia, you're doing wonderful things making this happen. HTH, /dave |