Hi,

I have tried:

package Package::Name;
use strict;
use warnings;
use Wx ':everything';
use parent 'Wx::Frame';

It gives the following error:

Can't locate Wx/Frame.pm in @INC (@INC contains: E:/usr/site/lib E:/usr/lib .) 
at E:/usr/lib/parent.pm line 20.
BEGIN failed--compilation aborted at E:\work\lib\Package\Name.pm line 7.

The program doesn't giv the error if I use instead:

use base 'Wx::Frame';

Is there anything in base.pm which is needed by WxPerl but it isn't offered by 
parent.pm?

Thanks.

Octavian

Reply via email to