Discussion:
Phoenix - dabo grid
Werner
2014-07-02 12:12:51 UTC
Permalink
Hi,

I see this exception in Dabo's grid when trying to make it work with
Phoenix.

File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\grid.py", line 5659, in
<module>
app.start()
File "D:\devTools\dabo - phoenix\dabo\dApp.py", line 402, in start
self.uiApp.start()
File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\uiapp.py", line 464, in start
self.MainLoop()
File "c:\Python27\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\core.py",
line 1878, in MainLoop
rv = wx.PyApp.MainLoop(self)
File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\radiolist.py", line 192,
in _onWxHit
super(dRadioList, self)._onWxHit(evt)
File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\controlitemmixin.py", line
35, in _onWxHit
self.flushValue()
File "D:\devTools\dabo - phoenix\dabo\ui\datacontrolmixinbase.py", line
299, in flushValue
src.__setattr__(self.DataField, curVal)
File "D:\devTools\dabo - phoenix\dabo\ui\uiwx\grid.py", line 5046, in
_setSelectionMode
self.SetSelectionMode(wx.grid.Grid.GridSelectRows)

wx._core.wxAssertionError: C++ assertion "m_created" failed at
..\..\src\generic\grid.cpp(2311) in wxGrid::SetSelectionMode(): Called
wxGrid::SetSelectionMode() before calling CreateGrid()

Now Dabo uses a GridTableClass, is it still necessary to call CreateGrid
in Phoenix in that situation?

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...