From: Mark W. <ma...@ne...> - 2006-08-16 13:14:10
|
Hello, With regard to my new Wx::TreeListCtrl module I have not figured out how to export the required constants. I have created the file cpp/tl_constants.cpp I have added the necessary include line in TreeListCtrl.xs #include "cpp/tl_constants.cpp" I have specified the constants on my use line in the sample: use Wx::TreeListCtrl qw( wxTR_VRULE wxTR_SHOW_ROOT_LABEL_ONLY ); I also tried: use Wx qw( wxTR_VRULE wxTR_SHOW_ROOT_LABEL_ONLY ); But I get an error that they are not exported?. "wxTR_VRULE" is not exported by the Wx::TreeListCtrl module What other magic do I need to perform to get these constants to work? Many thanks Mark PS. Original package uploaded had the #include line commented out and I had an eror in tl_constans.cpp (I changed an f1 to fl) but once complete the results were the same - no constants. |