p***@gmail.com
2014-03-18 17:10:14 UTC
Hi All,
I'm using wxlua API that is wrapped around wxwidgets and as such am limited
to only using public methods. I've been looking for a way to get access to
wxAuiTabCtrl class and don't see a way to do this.
It seems like a straightforward approach would be (Lua code):
nbmgr = notebook:GetAuiManager()
panes = nbmgr:GetAllPanes()
tabframe = panes:Item(1).window:DynamicCast("wxTabFrame")
Unfortunately this fails as wxTabFrame is not defined in the interface (.h file). Would it be possible to split wxTabFrame interface/implementation in auibook.cpp into interface and implementation parts?
It may also be helpful to make wxAuiNotebook::FindTab public instead of protected as it provides an alternative way of getting to wxAuiTabCtrl for a particular page.
Paul.
I'm using wxlua API that is wrapped around wxwidgets and as such am limited
to only using public methods. I've been looking for a way to get access to
wxAuiTabCtrl class and don't see a way to do this.
It seems like a straightforward approach would be (Lua code):
nbmgr = notebook:GetAuiManager()
panes = nbmgr:GetAllPanes()
tabframe = panes:Item(1).window:DynamicCast("wxTabFrame")
Unfortunately this fails as wxTabFrame is not defined in the interface (.h file). Would it be possible to split wxTabFrame interface/implementation in auibook.cpp into interface and implementation parts?
It may also be helpful to make wxAuiNotebook::FindTab public instead of protected as it provides an alternative way of getting to wxAuiTabCtrl for a particular page.
Paul.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users