Fix problem with <select> pull-down lists not displaying (issue #133).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@121 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
92eb49f44f
commit
cc6c213e53
|
@ -304,7 +304,6 @@ void WebWidgetHost::Resize(LPARAM lparam) {
|
||||||
void WebWidgetHost::MouseEvent(UINT message, WPARAM wparam, LPARAM lparam) {
|
void WebWidgetHost::MouseEvent(UINT message, WPARAM wparam, LPARAM lparam) {
|
||||||
const WebMouseEvent& event = WebInputEventFactory::mouseEvent(
|
const WebMouseEvent& event = WebInputEventFactory::mouseEvent(
|
||||||
view_, message, wparam, lparam);
|
view_, message, wparam, lparam);
|
||||||
webwidget_->handleInputEvent(event);
|
|
||||||
switch (event.type) {
|
switch (event.type) {
|
||||||
case WebInputEvent::MouseMove:
|
case WebInputEvent::MouseMove:
|
||||||
TrackMouseLeave(true);
|
TrackMouseLeave(true);
|
||||||
|
@ -325,6 +324,7 @@ void WebWidgetHost::MouseEvent(UINT message, WPARAM wparam, LPARAM lparam) {
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
webwidget_->handleInputEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebWidgetHost::WheelEvent(WPARAM wparam, LPARAM lparam) {
|
void WebWidgetHost::WheelEvent(WPARAM wparam, LPARAM lparam) {
|
||||||
|
|
Loading…
Reference in New Issue