javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/swt/widgets/Control.java
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/swt/widgets/Control.java Fri Jun 11 13:33:44 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/swt/widgets/Control.java Wed Jun 23 18:07:10 2010 +0300
@@ -1977,10 +1977,10 @@
sendEvent(SWT.Move);
}
-void qt_swt_event_widgetResized_pp(int widgetHandle, int oldWidth, int oldHeight, int width, int height) {
+void qt_swt_event_widgetResized_pp(int widgetHandle, int oldWidth, int oldHeight, int width, int height, boolean sendResizeEvent) {
// Resize events are sent only for top native widget,
// as some Controls are made of multiple native widgets.
- if (widgetHandle == topHandle)
+ if (widgetHandle == topHandle && sendResizeEvent)
sendEvent(SWT.Resize);
}
@@ -2008,9 +2008,8 @@
Display.focusEvent = SWT.None;
}
}
- if(display != null && !display.isDisposed()) {
- Display.commandArranger.focusedControlChanged();
- }
+
+
}
void qt_swt_event_focusWasLost() {
try {