possible solution to my problem?
Stefan Csomor
csomor at advancedconcepts.ch
Mon May 26 23:55:23 PDT 2008
Hi Bruno
usually you allocate these objects as member variables or on the stack, not
with operator new, wx built-in reference counting takes care that the shared
data is alive as long as it should, so I=B9d focus on things you allocate w=
ith
=8Cnew=B9
Best,
STefan
On 27.05.08 07:51, "Christopher Bruno" <cbruno.linux at gmail.com> wrote:
> =
> I am wondering if doing too many dc.SetPen and dc.SetBrush are the cause =
of my
> problem. If I have a wxDC object doing a major draw, could not freeing up
> these resources cause memory problems? How do you free up resources after
> calling dc.SetPen?
-- =
Advanced Concepts AG
Software-Engineering
Heldweg 10 =
CH-8475 Ossingen
Switzerland
phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080527/6c8=
309d7/attachment.htm
More information about the wx-users
mailing list