- Timestamp:
- Oct 10, 2009, 6:58:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/Group.java
r191 r195 294 294 } 295 295 296 //MRESULT WM_ERASEBACKGROUND (int mp1, int mp2) {297 // System.out.println("Group::WM_ERASEBACKGROUND -> HANDLE = " + Integer.toHexString(handle));298 //// if ((state & CANVAS) != 0) {299 //// //@@TODO(lpino): This invalidation forces a whole window repaint to prevent clipping errors when window is partially obscure300 //// //it has a negative impact on performance. As my understanding improves maybe this problem can be solved301 ////// OS.WinInvalidateRect(handle, null, true);302 ////// OS.WinUpdateWindow(handle);303 ////// OS.WinFillRect(mp1, mp2, getBackgroundPixel ());304 //// return MRESULT.TRUE;305 ////// return super.WM_ERASEBACKGROUND (mp1, mp2);306 //// }307 //// RECTL rcl = new RECTL();308 //// OS.objcpy (rcl, mp2);309 //// drawBackground (mp1, rcl);310 // return MRESULT.TRUE;311 //}312 313 296 MRESULT WM_HITTEST (int mp1, int mp2) { 314 297 MRESULT result = super.WM_HITTEST (mp1, mp2);
Note:
See TracChangeset
for help on using the changeset viewer.