From: Dodger <el....@gm...> - 2006-04-08 01:18:37
|
Ahh, thanks muchly. That explains it then. (The sourceforge archives don't have the most intuitive search functionality and the threading doesn't work, so I guess I missed this). On 4/7/06, Ovod-Everett, Toby <tov...@al...> wrote: > -----Original Message----- > From: wxp...@li... > [mailto:wxp...@li...] On Behalf Of Mark > Dootson > Sent: Friday, April 07, 2006 4:48 PM > To: Dodger > Cc: Donovan Allen; wxp...@li... > Subject: Re: [wxperl-users] Enable(0) ??? > > > Dodger wrote: > > > ...the next time someone hunts for why > > > the Disable method in the WxWidgets documentation doesn't seem to be > > > implemented, like I did for about four hours, they might just find > the > > > answer (using Enable(0)) in this here thread. > > > > I'm completely lost on two counts. > > > > 1. Disable works fine for me - but maybe that's just a version thing. > > This all got discussed ad nauseum a little over one month ago. See the > appended message sent from Mattia that finished that thread. > > --Toby Ovod-Everett > > > -----Original Message----- > From: wxp...@li... > [mailto:wxp...@li...] On Behalf Of Mattia > Barbon <mat...@li...> > Sent: Friday, March 03, 2006 9:33 AM > To: landen-wxperl > Cc: jhfoo-ml; peter; wxperl-users > Subject: Re: [wxperl-users] Disabling a wxButton > > > It seems Mattia's philosophy is to avoid duplicating functions that > > actually do the same job. > > My philosophy is not wrapping parts of wxWidgets that have better > cross-platform equivalents in Perl. In the case of Disable: I always use > Enable( 0 ) and did not know/remember Disable existed. I will add it. > > > I think the $button->Enable(0) thing took me at least 1/2 hour to > figure > > out, there's nothing in the docs below that indicates that it's not > > available in wxPerl: > > > > > http://www.wxwidgets.org/manuals/2.6.1/wx_wxwindow.html#wxwindowdisable > > I do not put this kind of notes in the main wxWidgets documentation > the notes are in the automatically-modified docs I provide at > wxperl.sf.net > (BTW, I have fixed the generation script to take inheritance again into > account when adding 'not implemented' notes). > > Regards > Mattia > -- Dodger |