Ticket #13045 (closed defect: fixed)
[patch] wxNotebook::HitTest() not implemented in wxOSX/Cocoa
|Reported by:||dhyams||Owned by:|
|Keywords:||hittest osx wxnotebook simple||Cc:||dhyams|
wxWidgets 2.9.1, OSX carbon (perhaps cocoa too, not sure)
Under OSX, theHitTest() routine always returns -1 (not found) no matter what. The routine has been complete disabled with an #if 0 (see src/osx/notebook.cpp). Here is a link to that code:
If I just reenable the routine by changing the #if 0 to an #if 1, and remove the WXUNUSED macros, everything works fine again.
So is there a reason HitTest() has been completely removed, or was it an accident? It seems, so far, that it works perfectly well under carbon, so the code should at least stay intact for any carbon build. I can't vouch for cocoa.