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:
David Elliott
2003-09-02 19:15:44 +00:00
parent 449c567346
commit 911e17c6cf
11 changed files with 11 additions and 11 deletions

View File

@@ -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();