]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSButton.mm
fixed memory leak in wxURL when using a proxy
[wxWidgets.git] / src / cocoa / NSButton.mm
index 1728984c531d63eac5fedcf4c74a8245d959111c..fe70ab7f63c246360d669baab200c8024983dc0d 100644 (file)
@@ -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();
 }