Disable MacOSXDisplay.setIcon since there are no window icons on Mac OS X

This commit is contained in:
Elias Naur 2007-07-20 21:24:03 +00:00
parent 45517e96c2
commit 436cd2e39c
1 changed files with 4 additions and 2 deletions

View File

@ -479,7 +479,7 @@ final class MacOSXDisplay implements DisplayImplementation {
* @return number of icons used.
*/
public int setIcon(ByteBuffer[] icons) {
int size = 0;
/* int size = 0;
int biggest = -1;
for (int i=0;i<icons.length;i++) {
@ -505,7 +505,9 @@ final class MacOSXDisplay implements DisplayImplementation {
img.setRGB(0, 0, width, height, imageData, 0, width);
frame.setIconImage(img);
return 1;
return 1;*/
// Don't use any icon, since Mac OS X windows don't have window icons
return 0;
}
public int getWidth() {