X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bac6f2348d41e91d92baa2a35c19d35097547003..960cb7d715a21b40d9d2472638a237b210683088:/src/cocoa/NSButton.mm diff --git a/src/cocoa/NSButton.mm b/src/cocoa/NSButton.mm index b9923b7f7f..1728984c53 100644 --- a/src/cocoa/NSButton.mm +++ b/src/cocoa/NSButton.mm @@ -47,7 +47,7 @@ WX_IMPLEMENT_POSER(wxPoserNSButton); @implementation wxPoserNSButton : NSButton - (void)wxNSButtonAction: (id)sender { - wxASSERT_MSG(self==sender,"Received wxNSButtonAction from another object"); + wxASSERT_MSG((id)self==sender,"Received wxNSButtonAction from another object"); wxCocoaNSButton *button = wxCocoaNSButton::GetFromCocoa(self); wxCHECK_RET(button,"wxNSButtonAction received without associated wx object"); button->Cocoa_wxNSButtonAction();