Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6755bf5

Browse files
authored
Fix IOError: Could not find bitmap file "stock_left.xpm"
1 parent 7098926 commit 6755bf5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/user_interfaces/embedding_in_wx4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def __init__(self, canvas, cankill):
3737
# probably want to add your own.
3838
if 'phoenix' in wx.PlatformInfo:
3939
self.AddTool(self.ON_CUSTOM, 'Click me',
40-
_load_bitmap('stock_left.xpm'),
40+
_load_bitmap('back.png'),
4141
'Activate custom contol')
4242
self.Bind(wx.EVT_TOOL, self._on_custom, id=self.ON_CUSTOM)
4343
else:
44-
self.AddSimpleTool(self.ON_CUSTOM, _load_bitmap('stock_left.xpm'),
44+
self.AddSimpleTool(self.ON_CUSTOM, _load_bitmap('back.png'),
4545
'Click me', 'Activate custom contol')
4646
self.Bind(wx.EVT_TOOL, self._on_custom, id=self.ON_CUSTOM)
4747

0 commit comments

Comments
 (0)