Re: [wxVTK] 'OnSize' : is not a member of 'wxWindow'
                
                Brought to you by:
                
                    malat
                    
                
            
            
        
        
        
    | 
      
      
      From: Nigel N. <nN...@au...> - 2006-06-07 19:03:29
      
     | 
| Hi Sean,=0D=0A
=0D=0A
> I tried to compile wxVTK using Visual C++ .Net. I got an error:=0D=0A
>=0D=0A
> error C2039: 'OnSize' : is not a member of 'wxWindow'=0D=0A
>    c:\wxWidgets-2.6.3\include\wx\msw\window.h(48) :=0D=0A
> see declaration of 'wxWindow'=0D=0A
=0D=0A
=0D=0A
The demo code with wxVTK is a great starting point you can use to get up=0D=
=0A
and running.  Given that you are using such an olde version of Vtk with a=
=0D=0A
recent wxWidgets, you might need to adjust a few lines here and there...=0D=
=0A
=0D=0A
=0D=0A
> I use wxWidget-2.6.3 and VTK 4.2. Does anybody had meet same problem be=
fore?=0D=0A
>=0D=0A
> After I comment the line  wxWindow::OnSize(event); in=0D=0A
> wxVTKRenderWindowInteractor.cxx it was compiled and worked fine.=0D=0A
> However, when I click exit, it crashed and gave an information for=0D=0A
> referencing memory at "0x000000e0" that could not be read.=0D=0A
> Does anyone know how to fix it?=0D=0A
=0D=0A
I fiddled with the cleanup code to make this go away.  See the note=0D=0A
in the change log for wxVtk version 0.6  (9 July 2003)=0D=0A
=0D=0A
>   Also, commented out pRenderer->Delete().  This kills the process,=0D=0A
>   but I get same problem with the MFC version. (Vtk: Dec 14 2002) =0D=0A
>  =0D=0A
>   void MyFrame::DestroyVTK()=0D=0A
>   {=0D=0A
>     if (pRenderer) {    =0D=0A
>       // pRenderer->Delete();  ! Note: skip this line  =0D=0A
>     }  =0D=0A
>     ...=0D=0A
>   }=0D=0A
=0D=0A
Nigel=0D=0A
=0D=0A
=0D=0A
-------------------------------------------------------------------------=
------------=0A
This message is intended for the addressee named and may contain confiden=
tial and privileged information.  If you are not the intended recipient p=
lease note that any form of distribution, copying or use of this communic=
ation or the information in it is strictly prohibited and may be unlawful=
.  If you receive this message in error, please delete it and notify the =
sender.=0A
Keep up to date with what's happening in Australian sport.=0A
Visit http://www.ausport.gov.au=0A
-------------------------------------------------------------------------=
------------=0A
=0D=0A
 |