Re: [wxVTK] I need your help for fixing a bug in wxVtk
Brought to you by:
malat
From: Mathieu M. <mma...@ny...> - 2005-04-29 02:41:34
|
Nicolas, What email client are you using ? The hotmail interface ? That's weird=20 it put '>' instead of '>' ... Also could you keep the mail on the ML=20 this is great for archive, and for me to read when away from home... Anyway as I said I don't know the answer, BUT I could really help you=20 if you could reproduce it with a small example. Could you try modifying=20 the SplitSample (from the examples) so that I can play with on my mac.=20 That would be really helpfull. BTW the patch from Alexis was somehow commited in CVS, I did another=20 approach but the only thing this could affect is a resize problem on=20 Win32... so nothing related to your problem. Thanks, Mathieu Ps: j'ai aucune idee comment passer a 250 mo, ma solution a ete de=20 prendre un email gmail.com ... Nicolas . wrote: >=20 >=20 > >I remember having seen this issue but again I did not had time to > >spent on that. Anyway here are a few thought, could you please try > >the wxWidget 2.6 on your Mac. Built/install it, then this becomes > >tricky: You'll have to use the new member function they have added > >in wxWidget: GetHandle. Hopefully *their* function GetHandle should > >work when mine does not. So all you have to do is removed from the > >cxx the code of my GetHandle function. And instead do: > > > >long wxVTK...::GetHandle() > >{ > > return (long)wxWindow::GetHandle(); > >} > > > >Let me know how this work, > >Mathieu >=20 > Thank's for your rapid answer. I see you are french ;-) , me too (c'est= =20 > pour ca qu' il y a surement des fautes d'orthographe dans mes messages.= =20 > Et mon compte Cyberniko est limit=E9 a 2 mo :-( si tu sait comment le=20 > faire passer au moins a 250 mo dis le moi) >=20 > In My application you can find: > MyApp (the general class) > Myframe (the main wimdow) > PanelLeft (a simple panel with a text inside) > PanelVtk (the vtk render window) > PanelLeft and PanelVtk are in MyFrame with a wxSplitterWindow >=20 > I already had tested with wxMac-2.6.0, and differents versions of VTK. > Here is my results : > -Case1 : The render takes all the window, so you can't see PanelLeft > -Case2 : The window is divided into 2 parts, as it should be. But there= =20 > is no rendering (PanelVtk is white). > -Case3 : Buss Error (the progam don't start) >=20 > wxMac 2.4.2 and VTK Carbon =3D> Case1 > wxMac 2.4.2 and VTK Cocoa=3D> Case3 > wxMac 2.4.2 and VTK X11=3D> Not Tested >=20 > wxMac 2.5.2 and VTK Carbon =3D> Case2 > wxMac 2.5.2 and VTK Cocoa=3D> Case2 > wxMac 2.5.2 and VTK X11=3D> Case2 >=20 > wxMac 2.6.0 and VTK Carbon =3D> Case1 > wxMac 2.6.0 and VTK Carbon and the "return (long)wxWindow::GetHandle();= "=20 > =3D> Case2 > wxMac 2.6.0 and VTK Cocoa=3D> Case3 > wxMac 2.6.0 and VTK Cocoa and the "return (long)wxWindow::GetHandle();"= =20 > =3D> Case3 > wxMac 2.6.0 and VTK X11=3D> NotTested >=20 >=20 > So, my program still doesn't work. I tried the patch by Alexis H.=20 > Rivera-Rios, I didn't get my program working fine... >=20 > Any ideas ? >=20 > _________________________________________________________________ > MSN Messenger : personnalisez votre messagerie instantan=E9e !=20 > http://g.msn.fr/FR1001/866 >=20 >=20 |