#include "wx/app.h"
#include "wx/statbmp.h"
#endif //WX_PRECOMP
+#include "wx/cocoa/autorelease.h"
#import <AppKit/NSImageView.h>
long style,
const wxString& name)
{
+ wxAutoNSAutoreleasePool pool;
if(!CreateControl(parent,winid,pos,size,style,wxDefaultValidator,name))
return false;
m_cocoaNSView = NULL;