static int hand_cursor = 0;
/** reverse lookup from hwnd to Win32Surface */
- public static Hash hwndToWin32SurfaceMap = new Hash();
+ public static Hashtable hwndToWin32SurfaceMap = new Hashtable();
/** lets us know that natInit() is finished */
public static Semaphore messagePumpStarted = new Semaphore();
public native void natInit(boolean framed);
public Win32Surface(Box b, final boolean framed) {
super(b);
+ if (Log.on) Log.log(this, "before, hwnd = " + hwnd);
+ if (Log.on) Log.log(this, "before, hdc = " + hdc);
natInit(framed);
+ if (Log.on) Log.log(this, "after, hwnd = " + hwnd);
+ if (Log.on) Log.log(this, "after, hdc = " + hdc);
hwndToWin32SurfaceMap.put(new Integer(hwnd), this);
}