[interfacekit] Re: BSlider::SetLimits

"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
> "DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> > 
> > #ifdef BEOS_R5_COMPATIBLE
> > virtual     void                            _ReservedSlider4();
> > #else
> > virtual void                                SetLimits(int32 minimum, int32 
> > maximum); // 
> > #endif
> 
> I don't know about _DrawBlockThumb() (it's in my (Dano) Be headers, 
> too), but IIRC SetLimits() was added because it's a somewhat not-
> understandable missing functionality in current BeOS.
> And since it was added in a binary compatible way (you could also 
> replace BEOS_R5_COMPATIBLE with __HAIKU__, though), it shouldn't harm.
> 
> Bye,
>    Axel.

I vote for changing it to #ifndef __HAIKU__.  (or #ifdef, and switch the
clauses)

Andrew



Other related posts: