Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2004-02-03 14:16:30 +0000
committerVeronika Irvine2004-02-03 14:16:30 +0000
commita258ae114c928ff806b6847d3ac6f079a4b09fda (patch)
tree310300a54976ff0fc2db34f8438161aa024f4b57
parentcd4b40083225ca77b3f8a13a6eb500c4ae06bfe5 (diff)
downloadeclipse.platform.swt-eclipse_look_3_0.tar.gz
eclipse.platform.swt-eclipse_look_3_0.tar.xz
eclipse.platform.swt-eclipse_look_3_0.zip
*** empty log message ***eclipse_look_3_0
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java18
1 files changed, 3 insertions, 15 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java
index 6b5075e97f..54f56a4243 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java
@@ -1721,11 +1721,7 @@ void onMouseDoubleClick(Event event) {
minmaxListeners[i].maximize(e);
}
}
- if (e.doit) {
- maximized = !restore;
- redraw(maxRect.x, maxRect.y, maxRect.width, maxRect.height, false);
- update();
- }
+ if (e.doit) setMaximized(!restore);
}
@@ -1935,11 +1931,7 @@ void onMouse(Event event) {
minmaxListeners[i].minimize(e);
}
}
- if (e.doit) {
- minimized = !restore;
- redraw(minRect.x, minRect.y, minRect.width, minRect.height, false);
- update();
- }
+ if (e.doit) setMinimized(!restore);
return;
}
if (maxRect.contains(x, y)) {
@@ -1958,11 +1950,7 @@ void onMouse(Event event) {
minmaxListeners[i].maximize(e);
}
}
- if (e.doit) {
- maximized = !restore;
- redraw(maxRect.x, maxRect.y, maxRect.width, maxRect.height, false);
- update();
- }
+ if (e.doit) setMaximized(!restore);
return;
}
for (int i=0; i<items.length; i++) {

Back to the top