]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/notebook.mm
added wxRegEx::GetMatchCount (patch 938995)
[wxWidgets.git] / src / cocoa / notebook.mm
index 3518e49a500278da28787a45d897eb26a4b83e2b..5df800e872146ec2ee750641a7ee002426c9d440 100644 (file)
@@ -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();
 }