<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Has anyone created an application with more than 
one wxVTKRenderWindowInteractor or vtkRenderWindow using wxPython before? 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm new to both wxPython and VTK and I'd like to 
create a two windowed application. I've tried placing two wxVTKRWI's in a 
wx.Panel - using sizers, I've tried using a wxSplitterWindow - using two panels, 
I've tried creating a new frame with a second wxVTKRWI in it. The strange thing 
is they all work until the application is closed when some error messages are 
thrown up in the vtkOutputWindow...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Are there any special techniques/points to consider 
when implementing two vtk windows?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The errors are:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ERROR: In 
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 
238<BR>vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in 
MakeCurrent(), error: The handle is invalid.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ERROR: In 
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 
238<BR>vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in 
MakeCurrent(), error: The handle is invalid.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can someone please help! I'm not sure what this 
means...&nbsp;There is no such path.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm using Python Enthought Edition Python 2.4.3 for 
Windows.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Richard. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>