Re: [wxVTK] 1.4 please!
Brought to you by:
malat
From: Andrew T. <an...@tr...> - 2011-12-06 22:09:59
|
[I've subscribed to wxvtk-users so no need to CC me any more.] Tim: > Yes, no problem. Andrew, do you think there would be a negative impact > on users of different vtk versions, or non-Cocoa users, or others? I'm pretty sure there won't be any problems. The only difference would be to people using the old Cocoa implementation in wx 2.8.x, but development stopped on that a few years ago so anybody wanting to use Cocoa with wxWidgets really has to use wx 2.9.x. Plus I doubt the old __WXCOCOA__ code in wxVTKRenderWindowInteractor.cxx ever really worked! GetHandleHack() returned a pointer to the NSWindow for the top level window, which is clearly wrong -- it meant rendering covered the entire client area of the top level window, so in the wxVTK samples you would never see the status bar (and in SplitSample you would only see one half). The only other potential problem is that my changes require VTK 5.8.0. If people try it with VTK 5.4.2 (installed by macports) then the sample apps (and our Ready.app) crash on starting up. I haven't bothered trying to fix that -- there are other bugs in 5.4.2 that make it a bad choice, such as the problems we saw with scroll wheel zooming. Andrew |