diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java index 50a694f2472..4288e16609c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java @@ -563,26 +563,4 @@ void destroyHandlesExcept(Set zoomLevels) { }); } -/** - * Invokes platform specific functionality to allocate a new cursor. - *

- * IMPORTANT: This method is not part of the public - * API for Cursor. It is marked public only so that it - * can be shared within the packages provided by SWT. It is not - * available on all platforms, and should never be called from - * application code. - *

- * - * @param device the device on which to allocate the color - * @param handle the handle for the cursor - * @return a new cursor object containing the specified device and handle - * - * @noreference This method is not intended to be referenced by clients. - */ -public static Cursor win32_new(Device device, int handle) { - Cursor cursor = new Cursor(device); - cursor.handle = handle; - return cursor; -} - }