From 294d965baf0a694ac1e22f8a303089ca41cdd49f Mon Sep 17 00:00:00 2001 From: David Elliott Date: Sat, 30 Oct 2004 06:31:07 +0000 Subject: [PATCH] CodeWarrior (8.3 mwcc) thinks that it cannot compare id (a struct objc_object*) 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 --- src/cocoa/notebook.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa/notebook.mm b/src/cocoa/notebook.mm index 28e0978ef7..12863c1b90 100644 --- a/src/cocoa/notebook.mm +++ b/src/cocoa/notebook.mm @@ -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([tvitem view]) == page->GetNSViewForSuperview()); [tvitem setView:nil]; [tvitem release]; // Make it back into a normal child window -- 2.45.2