CodeWarrior Obj-C++ requires explicit casts from id to Objective-C types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user