Re: [wxVTK] Proposal for patch to support 'Frozen' window
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2009-03-03 15:08:53
|
Sander, On Tue, Mar 3, 2009 at 1:36 PM, Sander Niemeijer <nie...@st...> wrote: > 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. Patch is ok. Do you know when was IsFrozen added ? If this is recent, please try to put some ifdef blocker to avoid any compilation issue. Thank you, -- Mathieu |