From d4b168072745dfcd94ff38d1646ee164d9b1de69 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 27 Oct 2015 12:08:10 -0700 Subject: [PATCH] Fixed: new CPPLatformWindow did not have a platformPasteboard. copy and paste did not work for other platformWindow except the main one --- AppKit/Platform/CPPlatformWindow.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AppKit/Platform/CPPlatformWindow.j b/AppKit/Platform/CPPlatformWindow.j index de2080bcc..f73c9205f 100644 --- a/AppKit/Platform/CPPlatformWindow.j +++ b/AppKit/Platform/CPPlatformWindow.j @@ -121,6 +121,8 @@ var PrimaryPlatformWindow = NULL; _windowLayers = @{}; _charCodes = {}; + + _platformPasteboard = [CPPlatformPasteboard new]; #endif }