]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/notebook.mm
regen bakefiles - get rid of explicit size setting after ctor
[wxWidgets.git] / src / cocoa / notebook.mm
index 28e0978ef7974844e46933f626829be1f4ac973c..12863c1b90ed177376c7ff93bef83400ed8f28b2 100644 (file)
@@ -180,7 +180,7 @@ wxNotebookPage *wxNotebook::DoRemovePage(size_t nPage)
     [tvitem retain];
     [GetNSTabView() removeTabViewItem:tvitem];
     // Remove the child window as a notebook page
-    wxASSERT([tvitem view] == page->GetNSViewForSuperview());
+    wxASSERT(static_cast<NSView*>([tvitem view]) == page->GetNSViewForSuperview());
     [tvitem setView:nil];
     [tvitem release];
     // Make it back into a normal child window