Retain/release the NSButtonCell during user action so that if the button
authorDavid Elliott <dfe@tgwbd.org>
Tue, 28 Dec 2004 01:40:03 +0000 (01:40 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 28 Dec 2004 01:40:03 +0000 (01:40 +0000)
commitc81dc3db6b242e6c47782ff205230c3e22060e95
treeab0c385f67b1b9231fe5f234e3f848c94fb2fdad
parent215a0070c1bbec9bad10d31cbbb07a828740156c
Retain/release the NSButtonCell during user action so that if the button
is deleted by the user action the program does not crash sending
the setHighlighted:NO message to it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/cocoa/toolbar.mm