Skip to content

Commit

Permalink
Comment assert
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Sep 5, 2023
1 parent ad33e60 commit 9cc2ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iup/external/src/cocoa/iupcocoa_label.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
static NSTextField* cocoaLabelGetTextField(Ihandle* ih)
{
NSTextField* text_field = (NSTextField*)cocoaLabelGetRootView(ih);
NSCAssert([text_field isKindOfClass:[NSTextField class]], @"Expected NSTextField");
//NSCAssert([text_field isKindOfClass:[NSTextField class]], @"Expected NSTextField");
return text_field;
}

static NSImageView* cocoaLabelGetImageView(Ihandle* ih)
{
NSView* root_container_view = cocoaLabelGetRootView(ih);
NSCAssert([root_container_view isKindOfClass:[NSImageView class]], @"Expected NSImageView");
//NSCAssert([root_container_view isKindOfClass:[NSImageView class]], @"Expected NSImageView");
return (NSImageView*)root_container_view;
}

Expand Down

0 comments on commit 9cc2ee5

Please sign in to comment.