aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/PlatCocoa.mm1
1 files changed, 0 insertions, 1 deletions
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);