From: James Lavery <james@mi...> - 2004-01-20 14:42:37
Hi again everyone,
I want to use xrc files and Wx::XmlResource to define and create my
However, I'm having problems retrieving the actual controls once
The docs imply that I should be able to do (in pseudo-code):
my $xrc =3D Wx::XmlResource->new();
my $dlgGroupTree =3D $xrc->LoadPanel($parent,'dlgGroupTree');
my $nTree_id =3D $xrc->GetXRCID("ID_TREECTRL");
But when I try this, I get:
ERROR: Usage: Wx::XmlResource::GetXRCID(str_id)
What am I doing wrong...?
Or is there another way of referencing a control created via
Wx::XmlResource and xrc?