in reply to Re: Detecting memory leaks.
in thread Detecting memory leaks.

Hi Richard,

Yes, Wx::StaticText->new(...) is the standard call, but on Linux you cannot set the background attributes.

i_staticText->new(...) is based on Wx::Panel, to give it a background and then Wx::StaticText->new(...) is within the panel. That way I can adjust the background attributes like background colour and length of field.

Regards

Steve