moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-26 02:22:24 +00:00
parent b107e8d578
commit 3276179da6

View File

@@ -75,13 +75,6 @@ public:
// set the size of the tabs for wxNB_FIXEDWIDTH controls // set the size of the tabs for wxNB_FIXEDWIDTH controls
virtual void SetTabSize(const wxSize& sz) = 0; virtual void SetTabSize(const wxSize& sz) = 0;
// hit test, returns which tab is hit and, optionally, where (icon, label)
// (not implemented on all platforms)
virtual int HitTest(const wxPoint& WXUNUSED(pt),
long * WXUNUSED(flags) = NULL) const
{
return wxNOT_FOUND;
}
// implement some base class functions // implement some base class functions