My bad -- it was wxWidgets 2.5.2 - I just built against 2.5.3 without
problems. Sorry -- didn't see that Wx-0.21 was just for wxWidgets 2.5.3
-- now running wxGTK2.5.3 with wxPerl 0.21.
Most things seem to be working, but I did stumble onto this: When going
in demo.pl to the NotebookSizer, I get this:
[mike@mbs demo]$ perl demo.pl
Can't locate object method "new" via package "Wx::NotebookSizer" at
/home/mike/downloads/Wx-0.21/demo/wxNotebookSizer.pm line 64.
free(): invalid pointer 0xbfffecb0!
I notice that the Changes file for wxGTK 2.5.3 says:
- wxNotebookSizer and wxBookCtrlSizer are now deprecated -- they are no
longer
needed, you can treat wxNotebook as any other control and put it directly
into the sizer that was wxNotebookSizer's parent sizer in old code.
Since we use wxGlade to generate a lot of our code, I'll bring it up on
their list, however it might be worth patching the demo for this change:
64c64
< #my $nbsizer = Wx::NotebookSizer->new( $notebook );
---
> my $nbsizer = Wx::NotebookSizer->new( $notebook );
95c95
< $top_sizer->Add( $notebook, 1, wxGROW );
---
> $top_sizer->Add( $nbsizer, 1, wxGROW );
Also, with the Theads demo, I noticed this (we're not using threads so
no impact on us):
[mike@mbs demo]$ perl demo.pl
thread failed to start: Error while autoloading 'Wx::Usleep' at
/home/mike/downloads/Wx-0.21/demo/wxThread.pm line 103
thread failed to start: Error while autoloading 'Wx::Usleep' at
/home/mike/downloads/Wx-0.21/demo/wxThread.pm line 103
(in cleanup) Can't locate object method "DESTROY" via package
"ThreadsDemoWin" at /home/mike/downloads/Wx-0.21/demo/wxThread.pm line 91.
(in cleanup) Can't locate object method "DESTROY" via package
"ThreadsDemoWin" at /home/mike/downloads/Wx-0.21/demo/wxThread.pm line
91 during global destruction.
Attempt to free temp prematurely: SV 0x8bb5cd4 during global destruction.
Scalars leaked: 2
(in cleanup) Can't locate object method "DESTROY" via package
"ThreadsDemoWin" at /home/mike/downloads/Wx-0.21/demo/wxThread.pm line
91 during global destruction.
Attempt to free temp prematurely: SV 0x87c375c during global destruction.
Scalars leaked: 2
Segmentation fault
Hope this helps...
Mattia Barbon wrote:
I appreciate the report. However I suspect this is not
wxWidgets 2.5.3 [1]. As a policy (and a measure to keep sanity...)
I do not guarantee that wxPerl releases will work against
wxWidgets developement CVS and wxWidgets old developement releases [2].
If this indeed is wxWidgets 2.5.3, then I am puzzled...
Thanks!
Mattia
[1] but rather wxWidgets 2.5.2, or a CVS snapshot
[2] I might reconsider this point if and only if only
a minor change is required
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
|