Make wxEVT_MENU_HIGHLIGHT generation when there is no highlighted item
consistent across all the major ports: use wxID_NONE instead of wxID_ANY
in wxGTK and send these events, which were previously not sent at all in
this case, in wxOSX.

See https://github.com/wxWidgets/wxWidgets/pull/1637
This commit is contained in:
Vadim Zeitlin
2019-11-05 20:03:36 +01:00
6 changed files with 20 additions and 7 deletions

View File

@@ -83,6 +83,10 @@ Changes in behaviour not resulting in compilation errors
coordinates, e.g. returned by wxWindow::GetSize() by GetContentScaleFactor()
before using them with OpenGL functions.
- wxGTK now uses wxID_NONE item ID for wxEVT_MENU_HIGHLIGHT events sent when
there is no highlighted menu item, instead of wxID_ANY used before, for
consistency with wxMSW.
Changes in behaviour which may result in build errors
-----------------------------------------------------