|
From: Mark W. <ma...@ne...> - 2006-08-17 13:05:05
|
Hi,
The constants are now working.
I removed the following:
> > use Exporter;
> > use base qw( Exporter);
> > use vars qw( @EXPORT_OK );
> > @EXPORT_OK = qw( wxTR_VRULE wxTR_SHOW_ROOT_LABEL_ONLY );
> > sub wxTR_VRULE { 0x8000 }
> > sub wxTR_SHOW_ROOT_LABEL_ONLY { 0x0002 }
I then added these lines:
push @Wx::EXPORT_OK, qw(
wxTR_VRULE
wxTR_SHOW_ROOT_LABEL_ONLY
);
And I left this line in my XS file:
> #include "cpp/tl_constants.cpp".
Then in my sample I import them from the Wx namespace and not
Wx::TreListCtrl
I will relase this now as a more workable module.
Regards
Mark
|