2004/01/14 01:44:21
[org.ibex.core.git] / src / org / xwt / plat / Win32.java
index d40d9df..0204b4d 100644 (file)
@@ -197,7 +197,6 @@ public class Win32 extends GCJ {
     // Win32Picture ////////////////////////////////////////////////////////////////////////////
 
     public static class Win32Picture extends Picture {
-        int w = 0, h = 0;
 
         /** the Win32 bitmap version of this Picture */
         int hbitmap = -1;
@@ -218,8 +217,8 @@ public class Win32 extends GCJ {
         int maskdc = -1;
 
         public Win32Picture(JS r) { super(r); }
-        public int getWidth() { return w; };
-        public int getHeight() { return h; };
+        public int getWidth() { return width; };
+        public int getHeight() { return height; };
         public int[] getData() { return data; }
         boolean initialized = false;
         public void init() { if (!initialized && isLoaded) natInit(); initialized = true; }