X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/911e17c6cf31c0e9e7ab4cdb8e03d66203ebbab8..0c2a5de2b1f9b16f87a5ffdd610d027079ee0479:/src/cocoa/NSButton.mm diff --git a/src/cocoa/NSButton.mm b/src/cocoa/NSButton.mm index 1728984c53..fe70ab7f63 100644 --- a/src/cocoa/NSButton.mm +++ b/src/cocoa/NSButton.mm @@ -6,7 +6,7 @@ // Created: 2003/01/31 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -47,9 +47,9 @@ WX_IMPLEMENT_POSER(wxPoserNSButton); @implementation wxPoserNSButton : NSButton - (void)wxNSButtonAction: (id)sender { - wxASSERT_MSG((id)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(); }