Re: accessing mCarbonPane
Re: accessing mCarbonPane
- Subject: Re: accessing mCarbonPane
- From: Art Gillespie <email@hidden>
- Date: Sat, 26 Oct 2002 11:11:18 -0400
Since it's protected, you can just write an accessor in your subclass,
no?
ControlRef* GetCarbonPane() { return mCarbonPane; };
Best,
Art
>>0xBA
On Saturday, October 26, 2002, at 10:38 AM, Urs Heckmann wrote:
Hi,
for my GUI class I would like to access mCarbonPane.
Is there anything speaking against making it public member of
AUCarbonViewBase?
The reason for this is, I want to unregister my custom controls in my
class derived from AUCarbonViewBase. But the destructor where this
should happen gets called before AUCarbonViewBase destroys the
controls, which in turn leads to a crash. Hence I want to track my
controls on my own and delete them before I unregister them.
(I think this would also affect the lately sample coded HIView
approaches)
Cheers,
;) Urs
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.