Don't change the clipboard in wxNotebook::SetPageImage() in wxOSX.

For some reason the implementation of this method (see #12754) also put the
image on the clipboard, which was completely unexpected and unnecessary, so
just don't do it.

Closes https://github.com/wxWidgets/wxWidgets/pull/77

(cherry picked from commit 10a4d15b27)
This commit is contained in:
dasimx
2015-08-23 13:46:27 +02:00
committed by Paul Cornett
parent bb89014bc2
commit eed42abba5

View File

@@ -161,12 +161,6 @@
m_image = image;
if(!m_image)
return;
[[NSPasteboard generalPasteboard]
declareTypes:[NSArray arrayWithObject:NSTIFFPboardType]
owner:nil];
[[NSPasteboard generalPasteboard]
setData:[m_image TIFFRepresentation]
forType:NSTIFFPboardType];
}
@end // implementation WXCTabViewImageItem : NSTabViewItem