Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Widget.d @ 18:735224fcc45f
redirected all printings to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Mar 2009 09:57:53 +0100 |
parents | 950d84783eac |
children | 52184e4b815c |
comparison
equal
deleted
inserted
replaced
17:6f068362a363 | 18:735224fcc45f |
---|---|
121 if( static_this_completed ){ | 121 if( static_this_completed ){ |
122 return; | 122 return; |
123 } | 123 } |
124 static if (!OS.IsWinCE) { | 124 static if (!OS.IsWinCE) { |
125 if (OS.COMCTL32_VERSION < OS.VERSION (MAJOR, MINOR)) { | 125 if (OS.COMCTL32_VERSION < OS.VERSION (MAJOR, MINOR)) { |
126 getDwtLogger().warn ("***WARNING: SWT requires comctl32.dll version {}.{} or greater", MAJOR, MINOR); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ | 126 getDwtLogger().warn ( __FILE__, __LINE__, "***WARNING: SWT requires comctl32.dll version {}.{} or greater", MAJOR, MINOR); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
127 getDwtLogger().warn ("***WARNING: Detected: {}.{}", OS.COMCTL32_MAJOR, OS.COMCTL32_MINOR); //$NON-NLS-1$ //$NON-NLS-2$ | 127 getDwtLogger().warn ( __FILE__, __LINE__, "***WARNING: Detected: {}.{}", OS.COMCTL32_MAJOR, OS.COMCTL32_MINOR); //$NON-NLS-1$ //$NON-NLS-2$ |
128 } | 128 } |
129 } | 129 } |
130 OS.InitCommonControls (); | 130 OS.InitCommonControls (); |
131 static_this_completed = true; | 131 static_this_completed = true; |
132 } | 132 } |