X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ce7af354a12de8cf0d80d27f6958c6ccd95f766..73bab6b44da953b35b902c9f3199582e4e76d89b:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index a2e6f84183..f515dada98 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -27,6 +27,15 @@ // wxNotebook // ---------------------------------------------------------------------------- +/* + * Flags returned by HitTest + */ + +#define wxNB_HITTEST_NOWHERE 1 +#define wxNB_HITTEST_ONICON 2 +#define wxNB_HITTEST_ONLABEL 4 +#define wxNB_HITTEST_ONITEM 6 + class WXDLLEXPORT wxNotebook : public wxNotebookBase { public: @@ -103,6 +112,9 @@ public: // style. void SetTabSize(const wxSize& sz); + + // Hit test + int HitTest(const wxPoint& pt, long& flags); // calculate the size of the notebook from the size of its page virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;