with NSView* for equality. This is of course completely against the
Objective-C language specification but we'll fix it anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30183
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
[tvitem retain];
[GetNSTabView() removeTabViewItem:tvitem];
// Remove the child window as a notebook page
[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
[tvitem setView:nil];
[tvitem release];
// Make it back into a normal child window