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:
Marshall Greenblatt 2010-10-21 20:26:43 +00:00
parent 92eb49f44f
commit cc6c213e53
1 changed files with 1 additions and 1 deletions

View File

@ -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) {