Phoenix - WIT

I am getting this exception when trying to Highlight a widget.

AttributeError: 'Rect' object has no attribute 'SetPosition'
File "h:\devProjectsT\aaTestsPhoenix\auinotebook.py", line 54, in <module>
   app.MainLoop()
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\core.py", line 1839, in MainLoop
   rv = wx.PyApp.MainLoop(self)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py", line 345, in OnHighlightItem
   self.HighlightCurrentItem()
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py", line 292, in HighlightCurrentItem
   self.highlighter.HighlightCurrentItem(self.tree)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py", line 825, in HighlightCurrentItem
   self.HighlightWindow(obj)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py", line 847, in HighlightWindow
   rect.SetPosition(pos)

Werner wrote:

I am getting this exception when trying to Highlight a widget.

AttributeError: 'Rect' object has no attribute 'SetPosition'
File "h:\devProjectsT\aaTestsPhoenix\auinotebook.py", line 54, in <module>
app.MainLoop()
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\core.py",
line 1839, in MainLoop
rv = wx.PyApp.MainLoop(self)
File
"c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py",
line 345, in OnHighlightItem
self.HighlightCurrentItem()
File
"c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py",
line 292, in HighlightCurrentItem
self.highlighter.HighlightCurrentItem(self.tree)
File
"c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py",
line 825, in HighlightCurrentItem
self.HighlightWindow(obj)
File
"c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\inspection.py",
line 847, in HighlightWindow
rect.SetPosition(pos)

Thanks, looks like SetPosition is missing from the wx interface files. I add that and I'll also do some phoenix-port work to get the rest of the WIT working too.

···

--
Robin Dunn
Software Craftsman

Robin,

...

Thanks, looks like SetPosition is missing from the wx interface files. I add that and I'll also do some phoenix-port work to get the rest of the WIT working too.

Thanks, didn't even notice that it wasn't ported to Phoenix. Next will try to remember to check or if you want you could just tell me to do it - to save you a bit of work.

Also thanks for correcting my .... up in the pdfviewer doc - have to set my self up that I have a running Phoenix install which is under SVN.

Werner

···

On 03/04/2013 03:59, Robin Dunn wrote: