Re: [wxVTK] Problems with wxMac 2.6.2
Brought to you by:
malat
From: Mathieu M. <mma...@ny...> - 2005-10-16 04:35:10
|
Paulo, I got Sample working again with wx 2.6.2 both on Cocoa and Carbon. Could you give it a shot. You'll have to download wxVTK from CVS . I did reproduce the problem with SplitSample and cocoa/keyboard event. Hopefully I'll find some time tomorrow. HTH Mathieu Mathieu Malaterre wrote: > Sample: I don't really understand what is going on. I'll try to > duplicate the problem (I have now access to a Mac machine) > > SplitSample: This is due to the lack of support of Carbon in VTK 4.4.2, > I need to update wxVTK to work with VTK 5.0. Wait and see (or patch > welcome:) > > Mathieu > > Paulo Abreu wrote: > >> Hi: >> >> My system: MacOSX 10.4, wxMac 2.6.2 (Carbon, not Cocoa), VTK 4.4.2. >> >> I have found several problems. I understand that Mac support is not >> complete, and that you don't have a Mac system, so I'll be glad to >> help in fixing this for the Mac. >> >> Here is the description of the problem: >> >> Sample: >> >> When launched, it seems fine. However, there's no task bar and no >> resize handle. The VTK window covers the wx window completely. >> >> The VTK events are captured fine. >> >> Although I can't see the resize handle, if I click and drag where it >> should be (lower right corner), resizing occurs. However, this is >> where everything gets really weird: >> >> * The cone is resized, but the pink background is not. The wx window >> below the vtk window is resized. This leads me to believe that the >> vtk window is not resized, but that it gets the new size somehow, so >> the the cone itself changes size. >> >> * So if I make the window bigger, I can see wx background and I can >> see the borders that were missing in the beginning. If I click on the >> wx window, the rotation is much faster then when I click on the vtk >> background. >> >> >> SplitSample: >> >> * When launched, I only see one cone. It only receives events if I >> click on the right half of the image. >> >> * When I resize it, a similar problem occurs as in Sample: the VTK >> background doesn't change size, and the wx window resizes. >> >> * If I make it bigger, I can see that the wx window is split. If I >> click on the right split, the window receives events. >> >> * I suspect the left vtk window is below the right one, so I only see >> the right one move. >> >> >> In general, it seems to me we have a problem in resizing and >> positioning a vtk window to a wx window. >> >> Paulo >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |