statictext, setlabel, and xrc

Grant Goodyear <[email protected]> Thu, 09 Mar 2006 18:41:40 -0600
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
After creating an xrc file using wxglade, and I have access a StaticText
label with:

   StaticText labelJobNum =
      XMLResource.GetControl(this, "labelJobNum", typeof(TextCtrl))
      as TextCtrl;

(Is that the canonical method of accessing an xrc-specified control?)

Now I'd like to be able to change the text in "labelJobNum", but it
seems that wx.StaticText.SetLabel doesn't exist?  What do people use as
a workaround?

Thanks,
g2boojum
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEMtIptxxUuD2W3YRAkT7AJ0WhPXlwiJKIoh3XHC8Wd4vnJEeLwCfV4D3
uUW4IogZrrmGtu65RbpGiM4=
=neuO
-----END PGP SIGNATURE-----