/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#if wxUSE_CHOICE
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
int wxChoice::DoAppend(const wxString& title)
{
+ wxAutoNSAutoreleasePool pool;
NSMenu *nsmenu = [(NSPopUpButton*)m_cocoaNSView menu];
NSMenuItem *item;
if(m_sortedStrings)
[(NSPopUpButton*)m_cocoaNSView selectItemAtIndex:n];
}
+#endif