Hi Lioz,
The short answer is
my $combo_box_1 = Wx::ComboBox ->new(
$page2_panel,
-1,
"Please select value",
wxDefaultPosition,
[150,30],
\...@my_optiones
);
You need to pass a reference to an array. An explanation of this and
more is at: http://perldoc.perl.org/perlreftut.html
HTH
Mark
On 17/11/2010 16:53, Lioz Cohn wrote:
Hi to all
When I triad to add Combo box options with regular array- @my_optiones and
I got an error
my $combo_box_1 = Wx::ComboBox ->new($page2_panel, -1, "Please select
value", wxDefaultPosition, [150,30], @my_optiones);
As I understand an array like $array= ['aaa','bbb'] is required
How can I use regular array or to convert the format.
Thanks
Lioz