Changeset 35066 in webkit
- Timestamp:
- Jul 8, 2008 3:32:32 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r35065 r35066 1 2008-07-08 Kevin Watters <kevinwatters@gmail.com> 2 3 Reviewed by Kevin Ollivier. 4 5 Fix to previous patch for handling mouse up events. 6 7 https://bugs.webkit.org/show_bug.cgi?id=18464 8 9 * platform/wx/MouseEventWx.cpp: 10 (WebCore::PlatformMouseEvent::PlatformMouseEvent): 11 1 12 2008-07-08 Dan Bernstein <mitz@apple.com> 2 13 -
trunk/WebCore/platform/wx/MouseEventWx.cpp
r32798 r35066 21 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 24 */ 25 25 … … 55 55 m_eventType = MouseEventMoved; 56 56 57 if (event. Button(wxMOUSE_BTN_LEFT))57 if (event.LeftIsDown() || event.Button(wxMOUSE_BTN_LEFT)) 58 58 m_button = LeftButton; 59 else if (event. Button(wxMOUSE_BTN_RIGHT))59 else if (event.RightIsDown() || event.Button(wxMOUSE_BTN_RIGHT)) 60 60 m_button = RightButton; 61 else if (event. Button(wxMOUSE_BTN_MIDDLE))61 else if (event.MiddleIsDown() || event.Button(wxMOUSE_BTN_MIDDLE)) 62 62 m_button = MiddleButton; 63 63 else if (!m_eventType == MouseEventMoved)
Note: See TracChangeset
for help on using the changeset viewer.