From 5f275b97e13b7509ad95ba7b2a639e9bbdeb14fc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 25 Sep 2011 10:18:57 +1000 Subject: Fixed Cocoa for palette removal. --- cocoa/PlatCocoa.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 8a5eff5a1..f65b28a52 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1780,7 +1780,6 @@ void ListBoxImpl::GetValue(int n, char* value, int len) void ListBoxImpl::RegisterImage(int type, const char* xpm_data) { XPM xpm(xpm_data); - xpm.CopyDesiredColours(); NSImage* img = ImageFromXPM(&xpm); [img retain]; ImageMap::iterator it=images.find(type); -- cgit v1.2.3