]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSButton.mm
The list ctrl doesn't draw any focus
[wxWidgets.git] / src / cocoa / NSButton.mm
index b9923b7f7fa067191bad9a6ae1f363d90e323232..63cf30df2f37dff30e62d253ce07080f0c0b3427 100644 (file)
@@ -47,9 +47,9 @@ 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,wxT("Received wxNSButtonAction from another object"));
     wxCocoaNSButton *button = wxCocoaNSButton::GetFromCocoa(self);
-    wxCHECK_RET(button,"wxNSButtonAction received without associated wx object");
+    wxCHECK_RET(button,wxT("wxNSButtonAction received without associated wx object"));
     button->Cocoa_wxNSButtonAction();
 }