Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Widget.checkWidget()

We would like to increase the visibility of this method from protected to 
public.
There is an extremely remote chance that this may break 1.0 compatibility 
as follows:
If someone subclassed Widget and overrode checkWidget() and made it 
protected, then their code would no longer compile.
The error is "Cannot reduce the visibility of the inherited method from 
org.eclipse.swt.widgets.Widget".

If anyone has this case, and has a problem with simply recompiling their 
code with Widget.checkWidget() public, please let us know ASAP.

Thanks,
The SWT team


Back to the top