comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Widget.d @ 9:950d84783eac

Removing direct tango deps.
author Frank Benoit <benoit@tionex.de>
date Mon, 09 Mar 2009 14:26:40 +0100
parents 6bf2837c50fe
children 735224fcc45f
comparison
equal deleted inserted replaced
8:2847134a5fc0 9:950d84783eac
24 import org.eclipse.swt.widgets.Listener; 24 import org.eclipse.swt.widgets.Listener;
25 import org.eclipse.swt.widgets.Event; 25 import org.eclipse.swt.widgets.Event;
26 import org.eclipse.swt.widgets.Menu; 26 import org.eclipse.swt.widgets.Menu;
27 import org.eclipse.swt.widgets.TypedListener; 27 import org.eclipse.swt.widgets.TypedListener;
28 28
29 import tango.io.Stdout;
30 import tango.core.Thread; 29 import tango.core.Thread;
31 import java.lang.all; 30 import java.lang.all;
32 31
33 /** 32 /**
34 * This class is the abstract superclass of all user interface objects. 33 * This class is the abstract superclass of all user interface objects.
122 if( static_this_completed ){ 121 if( static_this_completed ){
123 return; 122 return;
124 } 123 }
125 static if (!OS.IsWinCE) { 124 static if (!OS.IsWinCE) {
126 if (OS.COMCTL32_VERSION < OS.VERSION (MAJOR, MINOR)) { 125 if (OS.COMCTL32_VERSION < OS.VERSION (MAJOR, MINOR)) {
127 Stdout.formatln ("***WARNING: SWT requires comctl32.dll version {}.{} or greater", MAJOR, MINOR); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 126 getDwtLogger().warn ("***WARNING: SWT requires comctl32.dll version {}.{} or greater", MAJOR, MINOR); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
128 Stdout.formatln ("***WARNING: Detected: {}.{}", OS.COMCTL32_MAJOR, OS.COMCTL32_MINOR); //$NON-NLS-1$ //$NON-NLS-2$ 127 getDwtLogger().warn ("***WARNING: Detected: {}.{}", OS.COMCTL32_MAJOR, OS.COMCTL32_MINOR); //$NON-NLS-1$ //$NON-NLS-2$
129 } 128 }
130 } 129 }
131 OS.InitCommonControls (); 130 OS.InitCommonControls ();
132 static_this_completed = true; 131 static_this_completed = true;
133 } 132 }