[wx-dev] [mac] crash in toolbar sample

Stefan Csomor csomor at advancedconcepts.ch
Mon Apr 9 03:37:14 PDT 2007


ok, I've isolated the culprit, as I feared the refcount dives to 0 in
the Realize method for embedded controls, have to balance things
however, in order to avoid leaks ...

Best,

Stefan

> -----Original Message-----
> From: Stefan Csomor
> Sent: Montag, 9. April 2007 09:33
> To: wx-dev at lists.wxwidgets.org
> Subject: RE: [wx-dev] [mac] crash in toolbar sample
> 
> Hi
> 
> I'll try to lock into the ref counting / view parenting, many things
> are
> not documented and you have to experiment unfortunately...
> 
> Thanks,
> 
> STefan
> 
> > -----Original Message-----
> > From: Vadim Zeitlin [mailto:vadim at wxwindows.org]
> > Sent: Sonntag, 8. April 2007 00:03
> > To: wx-dev
> > Subject: [wx-dev] [mac] crash in toolbar sample
> >
> >  Hi Stefan,
> >
> >  If you start the toolbar sample and press Cmd-I (to insert a new
> > tool) and
> > then Cmd-Q (to quit), you get an assert failure and a crash. I
> still
> > don't
> > quite understand how does HIToolbar API work so for now I'm just
> > reporting
> > it and hope you can fix it quickly.
> >
> >  Regards,
> > VZ
> >
> >
> > -------------------------------------------------------------------
> --
> > To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org






More information about the wx-dev mailing list