Changeset 85334 in vbox
- Timestamp:
- Jul 14, 2020 11:07:53 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139314
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/CocoaEventHelper.mm
r85333 r85334 216 216 NSWindow *pEventWindow = [pEvent window]; 217 217 NSInteger iEventWindow = [pEvent windowNumber]; 218 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 219 NSGraphicsContext *pEventGraphicsContext = nil; /* NSEvent::context is deprecated and said to always return nil. */ 220 #else 218 221 NSGraphicsContext *pEventGraphicsContext = [pEvent context]; 222 #endif 219 223 220 224 printf("%s%p: Type=%lu Modifiers=%08lx pWindow=%p #Wnd=%ld pGraphCtx=%p %s\n", … … 340 344 timestamp:[pEvent timestamp] // [NSDate timeIntervalSinceReferenceDate] ? 341 345 windowNumber:[pEvent windowNumber] 346 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 347 context:nil /* NSEvent::context is deprecated and said to always return nil. */ 348 #else 342 349 context:[pEvent context] 350 #endif 343 351 eventNumber:[pEvent eventNumber] 344 352 clickCount:[pEvent clickCount]
Note:
See TracChangeset
for help on using the changeset viewer.