[vtkusers] Embed vtk application inside wxWindows GUI to run on MacOSX

ezhou ezhou at gene-networks.com
Mon Sep 8 14:45:30 EDT 2003


Hi everyone,
I am trying to embed vtk application inside of wxWindow GUI to run on
MacOSX. The same code works on Windows. However, the VTK windows are
decoupled from the wxWindow GUI on MacOSX. 
Here is the code snippet:
Void MyMethod(wxWindow * pWnd){
.
vtkRenderWindow* pWindow = vtkRenderWindow::New();
pWindow->SetParentId((void*)pWnd->GetHandle() );
...
}
Language : C++
VTK version: Latest
wxWindow Version: 4.2.1
Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030908/69fa0d4e/attachment.htm>


More information about the vtkusers mailing list