Opened 5 years ago

Closed 5 years ago

#15524 closed defect (fixed)

wxGTK regression: In wxStyleTextCtrl mousewheels scroll backwards

Reported by: dghart Owned by:
Priority: normal Milestone: 3.0.0
Component: wxStyledText Version: stable-latest
Keywords: mousewheel rotation regression Cc:
Blocked By: Blocking:
Patch: yes


Since 53f1a5b (r74805) mousewheel rotation direction has reversed, but only in wxSTC. This can be seen happening in the stctest sample, and not in e.g. treectrl or vscroll.

I've no idea why this is restricted to wxSTC; I can't see anything in its code that would explain it, and nothing obvious in that commit corrects the change for other controls.

The attached ScintillaWX.diff provides a local workaround for vertical scrolling and zooming; I don't have a horizontal mousewheel, but I suspect that will be corrected too. However you may prefer to correct any underlying problem.

Attachments (1)

ScintillaWX.diff download (584 bytes) - added by dghart 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by dghart

comment:1 Changed 5 years ago by PC

  • Resolution set to fixed
  • Status changed from new to closed

(In [74848]) fix vertical mouse wheel event rotation value, sign was reversed in r74805
fixes #15524

Note: See TracTickets for help on using tickets.