Seeing this error, using "SetDeviceClippingRegion" instead of SetClippingRegion seems to work, but is it the correct correction?
Werner
TypeError: DC.SetClippingRegion(): arguments did not match any overloaded call:
overload 1: argument 1 has unexpected type 'Region'
overload 2: argument 1 has unexpected type 'Region'
overload 3: argument 1 has unexpected type 'Region'
File "h:\devProjectsT\aaTests\aaMisc\aaAndrea\auiApp\auiAsInTWCBAndrea.py", line 141, in <module>
app = TheApp(redirect=False)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\core.py", line 1810, in __init__
self._BootstrapApp()
File "h:\devProjectsT\aaTests\aaMisc\aaAndrea\auiApp\auiAsInTWCBAndrea.py", line 16, in OnInit
frame = MyFrame()
File "h:\devProjectsT\aaTests\aaMisc\aaAndrea\auiApp\auiAsInTWCBAndrea.py", line 38, in __init__
self.nbSearch.AddPage(nbpa, 'Result', True)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 3295, in AddPage
return self.InsertPage(self.GetPageCount(), page, caption, select, bitmap, disabled_bitmap, control)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 3370, in InsertPage
self.SetSelectionToWindow(page)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 4068, in SetSelectionToWindow
self.SetSelection(idx)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 4015, in SetSelection
ctrl.MakeTabVisible(ctrl_idx, ctrl)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 1693, in MakeTabVisible
if not self.IsTabVisible(tabPage, self.GetTabOffset(), dc, win):
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 1584, in IsTabVisible
self.Render(dc, wnd)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\auibook.py", line 1539, in Render
page.rect, tab_button.rect, x_extent = self._art.DrawTab(dc, wnd, page, rect, tab_button.cur_state)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\tabart.py", line 2296, in DrawTab
self.FillVC8GradientColour(dc, tabPoints, page.active)
File "c:\Python27\Lib\site-packages\wx-2.9.6-msw-phoenix\wx\lib\agw\aui\tabart.py", line 2453, in FillVC8GradientColour
dc.SetClippingRegion(region)
···
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.