X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa7de3b09a1f6a87a9c3de6adc58132cab93d139..350a44d9c0b439cfcfb08142403a6d34a069e3f4:/src/cocoa/notebook.mm 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