git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73533
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
}
}
+
+ int TabHitTest(const wxPoint & pt, long* flags)
+ {
+ int retval = wxNOT_FOUND;
+
+ NSPoint nspt = wxToNSPoint( m_osxView, pt );
+
+ wxNSTabView* slf = (wxNSTabView*) m_osxView;
+
+ NSTabViewItem* hitItem = [slf tabViewItemAtPoint:nspt];
+
+ if (!hitItem) {
+ *flags = wxBK_HITTEST_NOWHERE;
+ } else {
+ retval = [slf indexOfTabViewItem:hitItem];
+ *flags = wxBK_HITTEST_ONLABEL;
+ }
+
+ return retval;
+ }
};