|
From: John L. <jla...@gm...> - 2006-02-03 14:52:43
|
> > so I thought that it was a 'cleaner' idea to put wxluasetup.h in
> >
> > modules/wxbind/setup
> >
> > instead of modules/setup. After all, wxluasetup.h is a setup for
> > wxbind, right ?
>
> But that is putting it in a module. While there are already two binding
> modules.
> I am not sure it they use the same wxluasetup.h, but if yes i would say
> it has to be in:
>
> modules/setup
>
> Currently i see a wxluasetup.h in wxbindstc/src too.
>
> or in a new include dir in:
>
> modules/bindings/include
>
> I can imagine that this file can be used module broad for more then
> setting bindings on/off.
That's where it gets a little tricky. The wxSTC binding also depends
on the wxLUA_USE stuff, for example wxPoint, wxColour, wxWindow, etc,
but I really don't want to have to go nuts and cross link all the
dependencies since it'll make things very complicated.
I suppose the best solution is to use the wxSTC bindings without any
wxluasetup.h file and in a doc file just state the things that have to
be turned on to make it work. It should be pretty obvious to people
that if they want a complicated widget like wxSTC they have to bind to
a large portion of wxWidgets.
Regards,
John Labenski
|