[wxVTK] Proposal for patch to support 'Frozen' window
Brought to you by:
malat
|
From: Sander N. <nie...@st...> - 2009-03-03 12:56:35
|
Hi Mathieu, I would like to propose the following patch for wxVTK. The patch contains the following changes: - turn RenderAllowed in a local variable There were no Set/Get methods for this variable anyway and its value was always reset at each call of Render(). - make explicit invocation of wxVTKRenderWindowInteractor::Render() dependent on Frozen state of wxWindow This means that if you call Freeze() on a wxVTKRenderWindowInteractor, an invocation of Render() on the interactor will have no effect until the window has been 'thawed' again with Thaw(). Let me know if you agree with the patch. P.S. I already have commit privileges. Best regards, Sander Niemeijer |