Skip to content

Commit

Permalink
wxGUI/nviz: SetMaskColour causes problems on macos with wx 4.1.0 (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Jul 14, 2020
1 parent 07ac22b commit 68a482b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def __init__(self, parent, usage, label, **kwargs):
elif usage == 'pause':
self.DrawPause(dc, size)

if sys.platform != "win32":
if sys.platform not in ("win32", "darwin"):
buffer.SetMaskColour(maskColor)
self.SetBitmapLabel(buffer)
dc.SelectObject(wx.NullBitmap)
Expand Down

0 comments on commit 68a482b

Please sign in to comment.