comparison dwt/dnd/DND.d @ 123:63a09873578e

Fixed compile errors
author Jacob Carlborg <doob@me.com>
date Thu, 15 Jan 2009 23:08:54 +0100
parents 370410b7852f
children
comparison
equal deleted inserted replaced
122:2e671fa40eec 123:63a09873578e
268 if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$ 268 if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$
269 throw new DWTError (code, msg); 269 throw new DWTError (code, msg);
270 } 270 }
271 case DND.ERROR_CANNOT_INIT_DROP:{ 271 case DND.ERROR_CANNOT_INIT_DROP:{
272 String msg = DND.INIT_DROP_MESSAGE; 272 String msg = DND.INIT_DROP_MESSAGE;
273 if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ 273 if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$
274 throw new DWTError (code, msg); 274 throw new DWTError (code, msg);
275 } 275 }
276 case DND.ERROR_CANNOT_SET_CLIPBOARD:{ 276 case DND.ERROR_CANNOT_SET_CLIPBOARD:{
277 String msg = DND.CANNOT_SET_CLIPBOARD_MESSAGE; 277 String msg = DND.CANNOT_SET_CLIPBOARD_MESSAGE;
278 if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ 278 if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$
279 throw new DWTError (code, msg); 279 throw new DWTError (code, msg);
280 } 280 }
281 case DND.ERROR_INVALID_DATA:{ 281 case DND.ERROR_INVALID_DATA:{
282 String msg = DND.INVALID_DATA_MESSAGE; 282 String msg = DND.INVALID_DATA_MESSAGE;
283 if (hresult !is 0) msg += " result = "~Integer.toString(hresult); //$NON-NLS-1$ 283 if (hresult !is 0) msg ~= " result = "~Integer.toString(hresult); //$NON-NLS-1$
284 throw new DWTException (code, msg); 284 throw new DWTException (code, msg);
285 } 285 }
286 286
287 default: 287 default:
288 } 288 }