Skip to content

Commit

Permalink
Merge pull request #3995 from cgohlke/patch-1
Browse files Browse the repository at this point in the history
BUG : Fix wx._core.PyAssertionError ... wxGetStockLabel(): invalid stock item ID
  • Loading branch information
tacaswell committed Jan 13, 2015
1 parent 22eb1d5 commit fceeb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user_interfaces/mathtext_wx.py
Expand Up @@ -62,7 +62,7 @@ def __init__(self, parent, title):
menu = wx.Menu()
for i, (mt, func) in enumerate(functions):
bm = mathtext_to_wxbitmap(mt)
item = wx.MenuItem(menu, 1000 + i, "")
item = wx.MenuItem(menu, 1000 + i, " ")
item.SetBitmap(bm)
menu.AppendItem(item)
self.Bind(wx.EVT_MENU, self.OnChangePlot, item)
Expand Down

0 comments on commit fceeb02

Please sign in to comment.