Thanks, Done it huraaa ....
but added some not-so-elegant looking %rename func to allow overloading. (I am still using wxLua 2.6.2.0, no %overloading yet) :-)
John Labenski <[EMAIL PROTECTED]> wrote:
On 5/23/06, Steve Kieu <[EMAIL PROTECTED]> wrote:
> Is there any effort to bind wxAUI yet?
I do not use it, so no, not that I know of.
> I am actually making the .i file and got stuck in several points, one is as
> I do not know ho to export this declaration in .h file to .i
>
> WX_DECLARE_OBJARRAY(wxPaneButton, wxPaneButtonArray);
>
> to make the type wxPaneInfoArray known to the generate bind script.
Take a look at wxArrayInt or wxArrayString in
bindings/wxwidgets/data.i. Basicly, the class is generated by a macro
or if wxUSE_STL (or whatever it's called) it's just a stl::vector
IIRC. Pick the functions you want to wrap (not all may be needed) from
the docs for wxArray.
-John Labenski
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users
[EMAIL PROTECTED]>
S.KIEU
The LOST Ninja blog: Exclusive clues, clips and gossip.