From: Mattia B. <mb...@ds...> - 2002-04-07 19:58:01
|
> > > i minimized my application to the treectrl and uploaded it: > > > http://www.soapy.ch/temp/minimal.txt> > > Thanks! > > > well, the minimal sample works fine... but my way in a > wxDialog > doesn't work... > > > i assume a programming mistake from my side, but i'm really > > > unable > to find it... > > > Works for me ( almost ); the sequence of begin/end is OK ( the> one I > > wrote above ); the only problem is that ESC does not cancel > > editing ( id > > does nothing ), but this is because it is eaten by> the dialog,> AFAIK > > > > > not to forget: > > > i'm using win98 with activePerl 5.6.1 > > Shot in the dark: > > it may be Win98, or the comctl32 version; what version of > > IE have you > > installed? Does upgrading comctl32.dll help? > > ( there is one available for download somewhere in MS site, and it comes > > with IE ). > > I have IE 5.5 ( comctl32 5.81 ). > ok, i used your sample...works fine (win98 > and win2000)but, if i remove this line:my $text = > Wx::TextCtrl->new($configDialog,-1,'',[0,200],[500,100], wxTE_MULTILINE);it > doesn't work anymore...(uncomented > Wx::Log::SetActiveTarget(Wx::LogTextCtrl->new($text));)i've the same comctl > version like you... > does it work for you if you remove/uncoment this two lines? Found a fix ( I hope ); download the modified wx22_9.dll from http://wwwstud.dsi.unive.it/~mbarbon/wx/wx22_9.dll.gz uncompress it and put it in $PERL/site/lib/auto/Wx ( make a backup of the original one, of course ). This fixes your problem with tree control, but may introduce new ones ( it is a fix backported from wxWIndows 2.3 ). Regards Mattia |