On 26.03.2012 19:46, David FLEURY wrote:
> Le 26/03/2012 17:28, MacArthur, Ian (SELEX GALILEO, UK) a écrit :
>>> > I also believe that we already had a similar problem. This one can
>>> > be fixed easily with "friend class Fl_X;" in Fl_Widget.H, like this
>>> > patch:
>>> >
>>> > Index: FL/Fl_Widget.H
>>> > ===================================================================
>>> > --- FL/Fl_Widget.H (revision 9300)
>>> > +++ FL/Fl_Widget.H (working copy)
>>> > @@ -99,6 +99,7 @@
>>> > */
>>> > class FL_EXPORT Fl_Widget {
>>> > friend class Fl_Group;
>>> > + friend class Fl_X;
>>> >
>>> > Fl_Group* parent_;
>>> > Fl_Callback* callback_;
>>> >
>>> >
>>> > ... instead of making the enum public. I'm not sure which one is
>>> > better though, but I'd tend to use the friend statement in this
>>> > case. Anybody?
>> Yes - I like the look of that better, and it should have the desired
>> effect.
>>
>>
>
> It's working.
> Not sure you tolerate friend.

This has been addressed differently now by adding an accessor method
(svn r 9325, by Fabien), and the other problem is now fixed as well,
as suggested by your patch (r 9327). Please test if this is okay now.
It all worked well for me with VC++ 2010 Express.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to