Changeset 86068 in webkit


Ignore:
Timestamp:
May 9, 2011 11:14:46 AM (13 years ago)
Author:
kevino@webkit.org
Message:

Reviewed by Kevin Ollivier.

Create empty event handler to avoid new mouse capture assert added in wx 2.9 on wxMSW.

https://bugs.webkit.org/show_bug.cgi?id=60480

Location:
trunk/Source/WebKit/wx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/wx/ChangeLog

    r85864 r86068  
     12011-05-09  Robin Dunn  <robin@alldunn.com>
     2
     3        Reviewed by Kevin Ollivier.
     4
     5        Create empty event handler to avoid new mouse capture assert added in wx 2.9 on wxMSW.
     6       
     7        https://bugs.webkit.org/show_bug.cgi?id=60480
     8
     9        * WebView.cpp:
     10        (wxWebView::OnMouseCaptureLost):
     11        * WebView.h:
     12
    1132011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Source/WebKit/wx/WebView.cpp

    r85864 r86068  
    321321    EVT_SET_FOCUS(wxWebView::OnSetFocus)
    322322    EVT_KILL_FOCUS(wxWebView::OnKillFocus)
     323    EVT_MOUSE_CAPTURE_LOST(wxWebView::OnMouseCaptureLost)
    323324END_EVENT_TABLE()
    324325
     
    842843    m_impl->page->contextMenuController()->contextMenuItemSelected(item);
    843844    delete item;
     845}
     846
     847void wxWebView::OnMouseCaptureLost(wxMouseCaptureLostEvent& event)
     848{
     849    // do nothing - unfortunately, we MUST handle this event due to wxWidgets rules,
     850    // otherwise we will assert, even though there is nothing for us to do here.
    844851}
    845852
  • trunk/Source/WebKit/wx/WebView.h

    r79953 r86068  
    242242    void OnKillFocus(wxFocusEvent& event);
    243243    void OnTLWActivated(wxActivateEvent& event);
     244    void OnMouseCaptureLost(wxMouseCaptureLostEvent&);
    244245   
    245246private:
Note: See TracChangeset for help on using the changeset viewer.