Bug 61313 Platform native icons not used in dialogs
N20040506 For example the 'info' icon for operations in progress, the 'error' icon when an exception occurs, and the 'question' icon when asked to confirm a resource deletion. These used to use the native icons on Windows XP but now they look quite different and non-native. This is a fairly recent regression.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
*            the message
	 */
	public static void openWarning(Shell parent, String title, String message) {
		MessageDialog dialog = new MessageDialog(parent, title, null, 
				
				
				
				
				message, WARNING, new String[]{IDialogConstants.OK_LABEL}, 0); 
		
		
		
		dialog.open();
		return;
	}
	/*
	 * @see org.eclipse.jface.dialogs.Dialog#createButton(org.eclipse.swt.widgets.Composite,
	 *      int, java.lang.String, boolean)
	 */
	protected Button createButton(Composite parent, int id, String label,
			boolean defaultButton) {
		Button button = super.createButton(parent, id, label, defaultButton);
		
		
		if (defaultButton && !customShouldTakeFocus())
			button.setFocus();
		return button;
	}
	/**
	 * Return whether or not we should apply the workaround where we take focus