The checkox is created in the panel (used just to hold the checbox view) in MainMenu.nib
The MenuController is connected to the checkbox with save_accessory_chkbox_ref
The code to open the Save Panel is:
sp = [NSSavePanel savePanel];
[sp setAccessoryView:save_accessory_chkbox_ref];
answer = [sp runModal];
...
[sp setAccessoryView:nil];
This work perfectly the first time I use the Savel Panel
but the next time I got this error message:
*** -[_NSViewAuxiliary setAutoresizingMask:]: selector not recognized [self = 0x35df80]
What I is wrong ?
mhz - 31 Jan 2006 01:02 GMT
Solved: insert
[save_accessory_chkbox_ref retain];
in the code...
> The checkox is created in the panel (used just to hold the checbox view) in MainMenu.nib
> The MenuController is connected to the checkbox with save_accessory_chkbox_ref
[quoted text clipped - 12 lines]
>
> What I is wrong ?