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:
Robin Dunn
2002-01-29 00:26:43 +00:00
parent c6c593e88d
commit e973de2ef6

View File

@@ -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()