From 264c023f3e9a594982078b371544f7fc8aaa28af Mon Sep 17 00:00:00 2001 From: David Elliott Date: Sun, 11 Apr 2004 00:48:55 +0000 Subject: [PATCH] Add wxAutoNSAutoreleasePool to SetSelection() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/notebook.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cocoa/notebook.mm b/src/cocoa/notebook.mm index 3518e49a50..5df800e872 100644 --- a/src/cocoa/notebook.mm +++ b/src/cocoa/notebook.mm @@ -260,6 +260,7 @@ bool wxNotebook::SetPageImage(size_t nPage, int nImage) int wxNotebook::SetSelection(size_t nPage) { + wxAutoNSAutoreleasePool pool; [GetNSTabView() selectTabViewItemAtIndex:nPage]; return GetSelection(); } -- 2.45.2