Skip to content

Commit

Permalink
Merge pull request wxWidgets#1240 from wxWidgets/WIT-gtk3-highlight
Browse files Browse the repository at this point in the history
Use a wx.Overlay in WIT on GTK3
  • Loading branch information
RobinD42 authored May 30, 2019
2 parents e389a38 + 3409c0b commit 2e9612a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Other changes in this release:
possible; key navigation now sets the date and fires the EVT_CALENDAR event;
setter APIs now set the date correctly (#1230).

* Switch to using a wx.Overlay in the Widget Inspection Tool to highlight
widgets when running on a GTK3 port.



Expand Down
2 changes: 1 addition & 1 deletion wx/lib/inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ class _InspectionHighlighter(object):
highlightTime = 3000 # how long to display the highlights

# how to draw it
useOverlay = 'wxMac' in wx.PlatformInfo
useOverlay = 'wxMac' in wx.PlatformInfo or 'gtk3' in wx.PlatformInfo


def __init__(self):
Expand Down

0 comments on commit 2e9612a

Please sign in to comment.