Load the frame icons from a .py file so I don't have to figure out how
to tell distutils to install the .ico in the right place... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1000,8 +1000,10 @@ class Frame(wxFrame):
|
||||
frame = self
|
||||
wxFrame.__init__(self, None, -1, '', pos, size)
|
||||
self.CreateStatusBar()
|
||||
progpath = os.path.split(__file__)[0]
|
||||
icon = wxIcon(os.path.join(progpath, 'xrced.ico'), wxBITMAP_TYPE_ICO)
|
||||
#progpath = os.path.split(__file__)[0]
|
||||
#icon = wxIcon(os.path.join(progpath, 'xrced.ico'), wxBITMAP_TYPE_ICO)
|
||||
icon = wxEmptyIcon()
|
||||
icon.CopyFromBitmap(images.getIconBitmap())
|
||||
self.SetIcon(icon)
|
||||
|
||||
# Idle flag
|
||||
|
Reference in New Issue
Block a user