]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
Applied background colour patch for Motif notebooks
[wxWidgets.git] / src / cocoa / choice.mm
index ba97699d8e82b955a9f825fa16e4143c7fa2019a..11e94454e61c948c2cf9312fe6c3bc8e9d2a9b6e 100644 (file)
@@ -183,6 +183,7 @@ int wxChoice::GetSelection() const
 
 int wxChoice::DoAppend(const wxString& title)
 {
+    wxAutoNSAutoreleasePool pool;    
     NSMenu *nsmenu = [(NSPopUpButton*)m_cocoaNSView menu];
     NSMenuItem *item;
     if(m_sortedStrings)