A small addition to my last email: the implementations for SetNextWindowInfo and WindowRemap in vtkWin32OpenGLRenderWindow.cxx are very simple.  You should try copying them over to vtkCocoaRenderWindow.mm to see if they work there, too.<div>

<br></div><div>  David<br><br><div class="gmail_quote">On Sat, Dec 4, 2010 at 3:10 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

You can try using an older version of wxVTKRenderWindowPython.py that doesn&#39;t call &quot;WindowRemap&quot;:<div><a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Wrapping/Python/vtk/wx/wxVTKRenderWindow.py;hb=3eda1ca3" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Wrapping/Python/vtk/wx/wxVTKRenderWindow.py;hb=3eda1ca3</a></div>


<div><br></div><div>The WindowRemap() method has never been implemented for either the vtkCarbonRenderWindow or the vtkCocoaRenderWindow.</div><div><br></div><font color="#888888"><div>  David</div></font><div><div></div>

<div class="h5"><div><br><br><div class="gmail_quote">On Sat, Dec 4, 2010 at 2:30 PM, Scott Harris <span dir="ltr">&lt;<a href="mailto:scottrharris@gmail.com" target="_blank">scottrharris@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I compiled wxPython for Cocoa. The demos seem to work fine.<br>
<font color="#888888">-Scott<br>
</font><div><div></div><div><br>
On Sat, Dec 4, 2010 at 7:25 AM, Lassi Paavolainen<br>
&lt;<a href="mailto:lassi.paavolainen@jyu.fi" target="_blank">lassi.paavolainen@jyu.fi</a>&gt; wrote:<br>
&gt; Hi Scott,<br>
&gt;<br>
&gt; Is your wxPython for Cocoa as well? I only found binaries for wxPython 2.9<br>
&gt; for Cocoa in Python 2.7 from wxPython website. Did you get those somewhere<br>
&gt; else or built yourself?<br>
&gt;<br>
&gt; Sorry, can&#39;t really help on this one, but I&#39;m also interested to get these<br>
&gt; working. My plan is to have Cocoa+wxPython+VTK+ITK in 64-bits. I&#39;ve tried<br>
&gt; that combination in 32-bit and Carbon about a year ago without much of<br>
&gt; success.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Lassi<br>
&gt;<br>
&gt; On Fri, 3 Dec 2010, Scott Harris wrote:<br>
&gt;<br>
&gt;&gt; Is this combination supposed to work?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve installed VTK 5.6.1 (64 bit, cocoa, wrap python) and wxPython 2.9.1.1<br>
&gt;&gt; with the system Python 2.6.1 in OS X 10.6 and when I run:<br>
&gt;&gt;<br>
&gt;&gt; python wxVTKRenderWindow.py<br>
&gt;&gt;<br>
&gt;&gt; I get the renderer in a separate window from the wx.Frame. It fails with<br>
&gt;&gt; the following error and sometimes a seg fault.<br>
&gt;&gt;<br>
&gt;&gt; Warning: In<br>
&gt;&gt; /Users/scott/Documents/VTKStuff/VTK/Rendering/vtkCocoaRenderWindow.h, line<br>
&gt;&gt; 112<br>
&gt;&gt; vtkCocoaRenderWindow (0x10306da60): SetNextWindowInfo not implemented<br>
&gt;&gt; (WindowRemap not implemented).<br>
&gt;&gt;<br>
&gt;&gt; Warning: In<br>
&gt;&gt; /Users/scott/Documents/VTKStuff/VTK/Rendering/vtkCocoaRenderWindow.mm, line<br>
&gt;&gt; 944<br>
&gt;&gt; vtkCocoaRenderWindow (0x10306da60): Can&#39;t remap the window.<br>
&gt;&gt;<br>
&gt;&gt; Any ideas?<br>
&gt;&gt;<br>
&gt;&gt; Should I move to 32 bits, Carbon, and wxPython for Carbon?<br>
&gt;&gt;<br>
&gt;&gt; What I would really like is PyObjC+Cocoa+VTK, but I haven&#39;t been able to<br>
&gt;&gt; get that combination to work since OS X 10.4.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; -Scott<br></div></div></blockquote></div></div>
</div></div></blockquote></div><br></div>