if ("win32".equals(platform) && (parent.getStyle() & SWT.RIGHT_TO_LEFT) != 0) return style;
static int checkStyle (int style) {	int mask = SWT.CLOSE | SWT.TOP | SWT.BOTTOM | SWT.FLAT | SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT | SWT.SINGLE | SWT.MULTI;	style = style & mask;	// TOP and BOTTOM are mutually exlusive.	// TOP is the default	if ((style & SWT.TOP) != 0) 		style = style & ~(SWT.TOP | SWT.BOTTOM) | SWT.TOP;	// SINGLE and MULTI are mutually exlusive.	// MULTI is the default	if ((style & SWT.MULTI) != 0) 		style = style & ~(SWT.SINGLE | SWT.MULTI) | SWT.MULTI;	// reduce the flash by not redrawing the entire area on a Resize event	style |= SWT.NO_REDRAW_RESIZE;	//TEMPORARY CODE	/*	 * The default background on carbon and some GTK themes is not a solid color 	 * but a texture.  To show the correct default background, we must allow	 * the operating system to draw it and therefore, we can not use the 	 * NO_BACKGROUND style.  The NO_BACKGROUND style is not required on platforms	 * that use double buffering which is true in both of these cases.	 */	String platform = SWT.getPlatform();	if ("carbon".equals(platform) || "gtk".equals(platform)) return style; //$NON-NLS-1$ //$NON-NLS-2$	return style | SWT.NO_BACKGROUND;}