X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90f9b8ef0c83c09f80c2f60ad65407ba16f11a3c..0b2bbd174f160049b9bcf61b742ee013f4fb7450:/src/univ/notebook.cpp diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index 407dc958ae..4fe59855e8 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -585,7 +585,7 @@ void wxNotebook::DoDraw(wxControlRenderer *renderer) int wxNotebook::HitTest(const wxPoint& pt, long *flags) const { if ( flags ) - *flags = wxNB_HITTEST_NOWHERE; + *flags = wxBK_HITTEST_NOWHERE; // first check that it is in this window at all if ( !GetClientRect().Inside(pt) ) @@ -631,7 +631,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const if ( flags ) { // TODO: be more precise - *flags = wxNB_HITTEST_ONITEM; + *flags = wxBK_HITTEST_ONITEM; } return n;