Use the new icon for the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -835,7 +835,9 @@ class Frame(wxFrame):
|
||||
def __init__(self, size):
|
||||
wxFrame.__init__(self, None, -1, '', size=size)
|
||||
self.CreateStatusBar()
|
||||
self.SetIcon(wxIconFromXPMData(images.getIconData()))
|
||||
#icon = wxIconFromXPMData(images.getIconData())
|
||||
icon = wxIcon(os.path.join(sys.path[0], "xrced.ico"), wxBITMAP_TYPE_ICO)
|
||||
self.SetIcon(icon)
|
||||
|
||||
# Make menus
|
||||
menuBar = wxMenuBar()
|
||||
|
Reference in New Issue
Block a user