// Created: 2002/12/09
// RCS-ID: $Id:
// Copyright: (c) 2002 David Elliott
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_NSBUTTON_H__
void AssociateNSButton(WX_NSButton cocoaNSButton);
inline void DisassociateNSButton(WX_NSButton cocoaNSButton)
{
- sm_cocoaHash.erase(cocoaNSButton);
+ if(cocoaNSButton)
+ sm_cocoaHash.erase(cocoaNSButton);
}
public: