- Timestamp:
- Sep 25, 2009, 3:24:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT/pm/org/eclipse/swt/widgets/Control.java
r182 r190 555 555 hps = this.hps; 556 556 } 557 // System.out.println("Control::drawBackground -> xLeft = " + rcl.xLeft); 558 // System.out.println("Control::drawBackground -> xRight = " + rcl.xRight); 559 // System.out.println("Control::drawBackground -> yBottom = " + rcl.yBottom); 560 // System.out.println("Control::drawBackground -> yTop = " + rcl.yTop); 557 561 OS.WinFillRect (hps, rcl, getBackgroundPixel ()); 558 562 } … … 2894 2898 int widgetStyle () { 2895 2899 /* Force strict clipping by setting WS_CLIPSIBLINGS */ 2896 return OS.WS_VISIBLE | OS.WS_CLIPSIBLINGS; 2900 //@@TODO (lpino): Remove log 2901 // System.out.println("Control::widgetStyle"); 2902 return OS.WS_VISIBLE;// | OS.WS_CLIPSIBLINGS; 2897 2903 2898 2904 /* … … 3678 3684 MRESULT WM_PAINT (int mp1, int mp2) { 3679 3685 /* Exit early - don't draw the background */ 3680 if (!hooks (SWT.Paint)) return null; 3681 3686 if (!hooks (SWT.Paint)) { 3687 return null; 3688 } 3689 // System.out.println("Control::WM_PAINT -> HANDLE = " + Integer.toHexString(handle)); 3682 3690 /* lazily obtain a long-term cached micro presentation space */ 3683 3691 GCData data = new GCData (); … … 3687 3695 data.doInit = true; 3688 3696 } 3689 3690 3697 /* Get the damage */ 3691 3698 int hrgn = OS.GpiCreateRegion (hps, 0, null);
Note:
See TracChangeset
for help on using the changeset viewer.