Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1c1fd38

Browse filesBrowse 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
Copy full SHA for 1c1fd38

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎examples/user_interfaces/embedding_in_wx4.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/embedding_in_wx4.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.