Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 42204
Status: resolved
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: frequency [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.89
Fixed in: (no value)



Subject: Cannot Load Wx::DataViewCtrl
Installing via Strawberry Perl's CPAN shell yields a PASS on all the tests. So everything appears to look good. However, when I run this code: my $dataview = Wx::DataViewCtrl->new( undef, -1, wxDefaultPosition, wxDefaultSize, ); $self->{dataview} = $dataview; I get an error: Can't locate object method "new" via package "Wx::DataViewCtrl" ... Doing some poking around, it appears that unlike the other, working, Wx:: classes like Calendar, the DataViewCtrl is never compiled into .bs files. Since it passes all the tests, I'm not sure why this is. Attached is the full build log. Thanks in advance!
Subject: buildlog.txt

Message body is not shown because it is too large.

On Tue Jan 06 23:45:56 2009, FREQUENCY wrote: Show quoted text
> Installing via Strawberry Perl's CPAN shell yields a PASS on all the > tests. So everything appears to look good. However, when I run this code: > > my $dataview = Wx::DataViewCtrl->new( > undef, > -1, > wxDefaultPosition, > wxDefaultSize, > ); > $self->{dataview} = $dataview; > > I get an error: Can't locate object method "new" via package > "Wx::DataViewCtrl" ... > > Doing some poking around, it appears that unlike the other, working, > Wx:: classes like Calendar, the DataViewCtrl is never compiled into .bs > files. Since it passes all the tests, I'm not sure why this is.
Wx::DataViewCtrl is only available with wxWidgets 2.9.x. Regards, Mattia
Show quoted text
> Wx::DataViewCtrl is only available with wxWidgets 2.9.x.
Oh, I see. It might be nice to have a better error message, but I guess this is a PEBKAC (Problem exists between keyboard and chair) error. I'm marking this as resolved now; I'm sorry for having taken up your time. Cheers! Jonathan