Hi John, > It would have to be done. Are you sure that this is something you really want > to do? The wrapping of the wxArtTabArt class would take many hours and is > very specialized. Maybe there's another way to do what you want?
I don't think there is any alternative; it's not super critical, but having a way to do this would allow styling tab controls the way I want, which is a frequent request for my application. > On the other hand, if you could provide the patch I would be happy to apply > it. I looked at the code and while I'm comfortable with enabling methods added in recent versions of wxwidgets, this is still too risky of a change for me (as it requires knowledge of how new wxlua types can be created and how to establish callbacks from wxwidgets). This seems like too much work, so I'd rather take other changes I referenced in my earlier post if you have time: http://www.mail-archive.com/wxlua-users@lists.sourceforge.net/msg03582.html Paul. On Tue, Dec 9, 2014 at 6:14 PM, John Labenski <jlaben...@gmail.com> wrote: > On Mon, Nov 24, 2014 at 6:21 PM, Paul K <paulclin...@yahoo.com> wrote: >> >> Hi John, >> >> I'm considering drawing my own tabs and the background for >> wxAuiNotebook, but don't see a way to do this in the current wxlua. >> There is wxAuiDefaultTabArt >> (http://docs.wxwidgets.org/trunk/classwx_aui_default_tab_art.html) >> with various methods like DrawTab and DrawBackground and calling those >> methods work, but what I need is to be able to provide my own class >> derived from wxAuiDefaultTabArt and to provide my own implementations >> for those methods, such that when I register this tab art with >> wxAuiNotebook, my methods are called and the tabs look like I want. >> >> Is this already available or is this something you'd need to >> implement? Thank you. >> > > It would have to be done. Are you sure that this is something you really > want to do? The wrapping of the wxArtTabArt class would take many hours and > is very specialized. Maybe there's another way to do what you want? On the > other hand, if you could provide the patch I would be happy to apply it. > > Regards, > John ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users