src/windows/native/sun/windows/awt_Component.cpp
Print this page
@@ -1547,11 +1547,11 @@
if (window && window->IsFocusableWindow()) {
// AWT/Swing will later request focus to a proper component
// on handling the Java mouse event. Anyway, we have to
// activate the window here as it works both for AWT & Swing.
// Do it in our own fassion,
- window->AwtSetActiveWindow(TRUE, LOWORD(lParam)/*hittest*/);
+ window->AwtSetActiveWindow(LOWORD(lParam)/*hittest*/);
}
mr = mrConsume;
retValue = MA_NOACTIVATE;
break;
}
@@ -1920,11 +1920,11 @@
retValue = SynthesizeWmKillFocus(GetHWnd(), NULL);
}
mr = mrConsume;
break;
case WM_AWT_WINDOW_SETACTIVE:
- retValue = (LRESULT)((AwtWindow*)this)->AwtSetActiveWindow((BOOL)wParam);
+ retValue = (LRESULT)((AwtWindow*)this)->AwtSetActiveWindow();
mr = mrConsume;
break;
case WM_AWT_SET_SCROLL_INFO: {
SCROLLINFO *si = (SCROLLINFO *) lParam;