X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0a84b63384ca1c1d8d20581fb56abbd1d826617..2588b9c467b3a313f516ef81c7d5cfd14d1e8bb6:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 25efc437f8..b8dfb49c81 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -778,15 +778,15 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const if ( pixmap && IsPointInsideWidget(pt, pixmap, x, y) ) { - *flags = wxNB_HITTEST_ONICON; + *flags = wxBK_HITTEST_ONICON; } else if ( IsPointInsideWidget(pt, GTK_WIDGET(nb_page->m_label), x, y) ) { - *flags = wxNB_HITTEST_ONLABEL; + *flags = wxBK_HITTEST_ONLABEL; } else { - *flags = wxNB_HITTEST_ONITEM; + *flags = wxBK_HITTEST_ONITEM; } } @@ -796,7 +796,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const if ( flags ) { - *flags = wxNB_HITTEST_NOWHERE; + *flags = wxBK_HITTEST_NOWHERE; wxWindowBase * page = GetCurrentPage(); if ( page ) { @@ -808,7 +808,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const rect.x -= pos.x; rect.y -= pos.y; if ( rect.Inside( pt ) ) - *flags |= wxNB_HITTEST_ONPAGE; + *flags |= wxBK_HITTEST_ONPAGE; } }