]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSView.mm
wxSystemSettings::GetMetric returns -1 if the metric is not supported
[wxWidgets.git] / src / cocoa / NSView.mm
index 03d065c195913754b6b8f2c2dd2b25a08ace269b..7a4d133ff4d7dea8826ce6ee9eb6157179bd4c26 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/02/15
 // RCS-ID:      $Id: 
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWindows license
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -189,7 +189,7 @@ void *wxCocoaNSView::sm_cocoaObserver = [[wxNSViewNotificationObserver alloc] in
 - (void)notificationFrameChanged: (NSNotification *)notification;
 {
     wxCocoaNSView *win = wxCocoaNSView::GetFromCocoa([notification object]);
-    wxCHECK_RET(win,"notificationFrameChanged received but no wxWindow exists");
+    wxCHECK_RET(win,wxT("notificationFrameChanged received but no wxWindow exists"));
     win->Cocoa_FrameChanged();
 }