fix CFDictionary/Number/String combo memory leak in wxChoice - also gets rid of all the memory leaks in the display sample that i thought were mine...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5cd2a6aecc
commit
641cdc233d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user