- Timestamp:
- Sep 14, 2009, 8:07:18 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
r182 r186 161 161 OS.GpiQueryFontMetrics (hps, FONTMETRICS.sizeof, fm); 162 162 computeWindowTextSize (hps, fm, sizeRect); 163 if (this.hps == 0) OS.WinReleasePS (hps);164 163 if (this.hps == 0) 164 OS.WinReleasePS (hps); 165 165 Point size; 166 166 if (layout != null) { … … 211 211 beginDeferWindowPos (parent, count); 212 212 } 213 //@@TODO (lpino): What to do about this?214 // if (parent.hdwp != 0) {215 // int oldHdwp = parent.hdwp;216 // parent.hdwp = 0;217 // OS.EndDeferWindowPos (oldHdwp);218 // int count = parent.getChildrenCount ();219 // parent.hdwp = OS.BeginDeferWindowPos (count);220 // }221 213 RECTL rcl = new RECTL(); 222 214 OS.WinQueryWindowRect (handle, rcl); … … 292 284 293 285 int widgetStyle () { 294 return super.widgetStyle () | OS.SS_GROUPBOX | OS.WS_TABSTOP;// | OS.WS_CLIPCHILDREN | OS.WS_CLIPSIBLINGS; 295 } 296 286 return super.widgetStyle () | OS.SS_GROUPBOX | OS.WS_TABSTOP | OS.SS_AUTOSIZE; 287 } 297 288 PSZ windowClass () { 298 289 return GroupClass; … … 329 320 if (result != null) return result; 330 321 // /* 331 // * Feature in Windows. The window proc for the group box322 // * Feature in OS/2. The window proc for the group box 332 323 // * returns HT_TRANSPARENT indicating that mouse messages 333 324 // * should not be delivered to the receiver and any children. … … 341 332 return new MRESULT (code); 342 333 } 343 MRESULT WM_MOUSEMOVE (int mp1, int mp2) { 344 System.out.println("Group::WM_MOUSEMOVE"); 345 return null; 346 } 347 } 334 335 }
Note:
See TracChangeset
for help on using the changeset viewer.