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

Skip to content

Commit 1c1fd38

Browse files
authored
Merge pull request #7580 from cgohlke/patch-1
Fix: IOError: Could not find bitmap file "stock_left.xpm"
2 parents 16545df + 6755bf5 commit 1c1fd38

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)