From: Paul K <pau...@ya...> - 2012-06-12 06:26:49
|
Hi All, I have the same problem as described here (https://groups.google.com/forum/?fromgroups#!topic/wxpython-users/T78KWU6vS_A): when tabs in AuiNotebook are moved using drag and drop, their order changes on the screen, but not internally and I'd like to enumerate them in the right order. I can get the list of children for my notebook (notebook:GetChildren()) and can enumerate those using GetFirst()/GetNext() and then get their target using GetData(), but all their targets are of wxWindow type. How do I know which one is AuiTabCtrl and how do I cast it to AuiTabCtrl to call GetPage()? Paul. |