javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/ercp/swt/mobile/CaptionedControl.java
changeset 80 d6dafc5d983f
parent 35 85266cc22c7f
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
   397  *
   397  *
   398  * @see SWT#LEFT_TO_RIGHT
   398  * @see SWT#LEFT_TO_RIGHT
   399  * @see SWT#RIGHT_TO_LEFT
   399  * @see SWT#RIGHT_TO_LEFT
   400  */
   400  */
   401 public CaptionedControl (Composite parent, int style) {
   401 public CaptionedControl (Composite parent, int style) {
   402     super(parent, Internal_PackageSupport.checkBits(style, SWT.HORIZONTAL, SWT.VERTICAL, 0, 0, 0, 0), 0,
   402     super(parent, Internal_PackageSupport.checkBits(style, SWT.VERTICAL, SWT.HORIZONTAL, 0, 0, 0, 0), 0,
   403             new CaptionedControlPackageProxy(), false);
   403             new CaptionedControlPackageProxy(), false);
   404     if (parent instanceof CaptionedControl) {
   404     if (parent instanceof CaptionedControl) {
   405         SWT.error(SWT.ERROR_INVALID_PARENT);
   405         SWT.error(SWT.ERROR_INVALID_PARENT);
   406     }
   406     }
   407     Internal_PackageSupport.setScrollAreaHandle(this, 0);
   407     Internal_PackageSupport.setScrollAreaHandle(this, 0);