git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21997
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#import <AppKit/NSButton.h>
#include "wx/cocoa/string.h"
#import <AppKit/NSButton.h>
#include "wx/cocoa/string.h"
+#include "wx/cocoa/autorelease.h"
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
// wxRadioButtonBase == wxControl
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
// wxRadioButtonBase == wxControl
const wxValidator& validator,
const wxString& name)
{
const wxValidator& validator,
const wxString& name)
{
+ wxAutoNSAutoreleasePool pool;
if(!CreateControl(parent,winid,pos,size,style,validator,name))
return false;
m_cocoaNSView = NULL;
if(!CreateControl(parent,winid,pos,size,style,validator,name))
return false;
m_cocoaNSView = NULL;