diff options
author | Felipe Heidrich <fheidric> | 2003-02-26 23:38:32 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2003-02-26 23:38:32 +0000 |
commit | cec8549911d7faf82133ea625f51169b39d0818c (patch) | |
tree | 69fe972ba15679f265f123cd8a12db280e7dc3a8 /bundles | |
parent | 6c29358de80399ffbf1339bc98c5fade5965e5be (diff) | |
download | eclipse.platform.swt-cec8549911d7faf82133ea625f51169b39d0818c.tar.gz eclipse.platform.swt-cec8549911d7faf82133ea625f51169b39d0818c.tar.xz eclipse.platform.swt-cec8549911d7faf82133ea625f51169b39d0818c.zip |
API fixing
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java | 2 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java index c4a823f903..4f44696e64 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java @@ -59,7 +59,7 @@ static int checkStyle (int style) { return checkBits (style, SWT.POP_UP, SWT.BAR, SWT.DROP_DOWN, 0, 0, 0); } -public void _setVisible (boolean visible) { +void _setVisible (boolean visible) { if ((style & (SWT.BAR | SWT.DROP_DOWN)) != 0) return; if (!visible) return; int left = x, top = y; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java index 1ae9ba1395..21339f817a 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java @@ -179,7 +179,7 @@ Menu (Decorations parent, int style, int handle) { createWidget ();
}
-public void _setVisible (boolean visible) {
+void _setVisible (boolean visible) {
if ((style & (SWT.BAR | SWT.DROP_DOWN)) != 0) return;
int hwndParent = parent.handle;
if (!visible) {
|