wx.Listbook.HitTest?

Hi Robin and all,

When I run wx.Listbook.HitTest() on Mac or Windows, instead of returning a tuple like it does for wx.Notebook, I get an int, and this int also seems to be pretty much constant. (Always 10.) In fact, the odd part is that I can't even seem to see why this method works at all. I'm not seeing it in wx.Listbook, wxBookCtrlBase, or wxControl/wxWindow.

Is this method supposed to work (the docs for wxListbook are ambiguous about it)? If so, I'll move over to C++ and see if I can track down exactly what is happening when I call this function.

Thanks,

Kevin

Kevin Ollivier wrote:

Hi Robin and all,

When I run wx.Listbook.HitTest() on Mac or Windows, instead of returning a tuple like it does for wx.Notebook, I get an int, and this int also seems to be pretty much constant. (Always 10.) In fact, the odd part is that I can't even seem to see why this method works at all. I'm not seeing it in wx.Listbook, wxBookCtrlBase, or wxControl/wxWindow.

Is this method supposed to work (the docs for wxListbook are ambiguous about it)? If so, I'll move over to C++ and see if I can track down exactly what is happening when I call this function.

It's inherited from wx.Window.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi Robin,

···

On Jun 15, 2005, at 8:08 PM, Robin Dunn wrote:

Kevin Ollivier wrote:

Hi Robin and all,
When I run wx.Listbook.HitTest() on Mac or Windows, instead of returning a tuple like it does for wx.Notebook, I get an int, and this int also seems to be pretty much constant. (Always 10.) In fact, the odd part is that I can't even seem to see why this method works at all. I'm not seeing it in wx.Listbook, wxBookCtrlBase, or wxControl/wxWindow.
Is this method supposed to work (the docs for wxListbook are ambiguous about it)? If so, I'll move over to C++ and see if I can track down exactly what is happening when I call this function.

It's inherited from wx.Window.

Okay, thanks. Sorry I missed it. Should've looked in the cpp files for DoHitTest too. :wink:

Kevin