wxPython 2.8.8.1
MW 2K/XP
Toggling a wx.Toolbar with
self.tBar.Show(not self.tBar.IsShown())
crashing windows and getting blue screen (error in nv4_disp.dll and dumping memory to disk)
The toolBar is created by subclassing wx.ToolBar
wxPython 2.8.8.1
MW 2K/XP
Toggling a wx.Toolbar with
self.tBar.Show(not self.tBar.IsShown())
crashing windows and getting blue screen (error in nv4_disp.dll and dumping memory to disk)
The toolBar is created by subclassing wx.ToolBar
Prashant Saxena wrote:
wxPython 2.8.8.1
MW 2K/XPToggling a wx.Toolbar with
self.tBar.Show(not self.tBar.IsShown())crashing windows and getting blue screen (error in nv4_disp.dll and dumping memory to disk)
The toolBar is created by subclassing wx.ToolBar
I think you want
self.tBar.Show(False)
This works for me on XP.
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org
Prashant Saxena wrote:
wxPython 2.8.8.1
MW 2K/XPToggling a wx.Toolbar with
self.tBar.Show(not self.tBar.IsShown())crashing windows and getting blue screen (error in nv4_disp.dll and dumping memory to disk)
The toolBar is created by subclassing wx.ToolBar
Does it help if you also call frame.SetToolBar when you toggle the visibility? Pass None when hiding, and self.tBar when showing.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!