diff src/video/cocoa/SDL_cocoavideo.m @ 4499:c2ebe3e020c6

Added Mac OS X implementation of clipboard support
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Jul 2010 00:35:58 -0700
parents 3d91e31fcf71
children 7b1d35d98294
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.m	Thu Jul 08 00:03:39 2010 -0700
+++ b/src/video/cocoa/SDL_cocoavideo.m	Thu Jul 08 00:35:58 2010 -0700
@@ -108,6 +108,10 @@
     device->StopTextInput = Cocoa_StopTextInput;
     device->SetTextInputRect = Cocoa_SetTextInputRect;
 
+    device->SetClipboardText = Cocoa_SetClipboardText;
+    device->GetClipboardText = Cocoa_GetClipboardText;
+    device->HasClipboardText = Cocoa_HasClipboardText;
+
     device->free = Cocoa_DeleteDevice;
 
     return device;