]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSButton.mm
Fixed tabs (i.e. turning into spaces...)
[wxWidgets.git] / src / cocoa / NSButton.mm
index b9923b7f7fa067191bad9a6ae1f363d90e323232..1728984c531d63eac5fedcf4c74a8245d959111c 100644 (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();