Wx::Font->new($gl_cfg->{client_point_size}, wxMODERN, wxFONTSTYLE_ITALIC, wxFONTWEIGHT_BOLD, 0, $gl_cfg->{client_font})
620 bytes doesn't seem like a lot for a new font.
Is it really necessary to create a new font each time? Couldn't you create the font once and reference it when you need it?
Ditto other things.
In reply to Re: Detecting memory leaks.
by BrowserUk
in thread Detecting memory leaks.
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |