Phoenix - wx.FileType has no GetIconInfo

Hi,

Above is missing, can't find it in the wx 2.8 or 3.0 doc, was that a wxPython thingy?

File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 357, in <module>
   run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
File "H:\devProjectsT\Phoenix\demo\run.py", line 161, in main
   app = RunDemoApp(name, module, useShell)
File "H:\devProjectsT\Phoenix\demo\run.py", line 51, in __init__
   wx.App.__init__(self, redirect=False)
File "c:\Python33\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\core.py", line 1844, in __init__
   self._BootstrapApp()
File "H:\devProjectsT\Phoenix\demo\run.py", line 82, in OnInit
   win = self.demoModule.runTest(frame, frame, Log())
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 324, in runTest
   win = MimeTypesDemoPanel(nb, log)
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 218, in __init__
   self.OnLookup()
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 258, in OnLookup
   self.DoUpdate(fileType)
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 264, in DoUpdate
   info = ft.GetIconInfo()

builtins.AttributeError: 'FileType' object has no attribute 'GetIconInfo'

Werner wrote:

Hi,

Above is missing, can't find it in the wx 2.8 or 3.0 doc, was that a
wxPython thingy?

File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 357, in
<module>
run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
File "H:\devProjectsT\Phoenix\demo\run.py", line 161, in main
app = RunDemoApp(name, module, useShell)
File "H:\devProjectsT\Phoenix\demo\run.py", line 51, in __init__
wx.App.__init__(self, redirect=False)
File "c:\Python33\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\core.py",
line 1844, in __init__
self._BootstrapApp()
File "H:\devProjectsT\Phoenix\demo\run.py", line 82, in OnInit
win = self.demoModule.runTest(frame, frame, Log())
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 324, in
runTest
win = MimeTypesDemoPanel(nb, log)
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 218, in
__init__
self.OnLookup()
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 258, in
OnLookup
self.DoUpdate(fileType)
File "H:\devProjectsT\Phoenix\demo\MimeTypesManager.py", line 264, in
DoUpdate
info = ft.GetIconInfo()

builtins.AttributeError: 'FileType' object has no attribute 'GetIconInfo'

Yeah, it was a wxPython addition. It looks like it should be addable in Phoenix too without any hassle. I'll put it on the ToDo list.

···

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

Werner wrote:

builtins.AttributeError: 'FileType' object has no attribute 'GetIconInfo'

Yeah, it was a wxPython addition. It looks like it should be addable in
Phoenix too without any hassle. I'll put it on the ToDo list.

Added.

···

--
Robin Dunn
Software Craftsman