From 3e24453be4523a252654a64e4b68ebbe5d2f76a7 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 30 Jan 2016 19:10:20 +0100 Subject: [PATCH] Check wxBK_HITTEST_ONITEM state in hit test in notebook sample Closes https://github.com/wxWidgets/wxWidgets/pull/159 --- samples/notebook/notebook.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 34ee5da808..468bacc6a3 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -679,6 +679,7 @@ void MyFrame::OnHitTest(wxCommandEvent& WXUNUSED(event)) AddFlagStrIfFlagPresent( flagsStr, flags, wxBK_HITTEST_NOWHERE, wxT("wxBK_HITTEST_NOWHERE") ); AddFlagStrIfFlagPresent( flagsStr, flags, wxBK_HITTEST_ONICON, wxT("wxBK_HITTEST_ONICON") ); AddFlagStrIfFlagPresent( flagsStr, flags, wxBK_HITTEST_ONLABEL, wxT("wxBK_HITTEST_ONLABEL") ); + AddFlagStrIfFlagPresent( flagsStr, flags, wxBK_HITTEST_ONITEM, wxT("wxBK_HITTEST_ONITEM") ); AddFlagStrIfFlagPresent( flagsStr, flags, wxBK_HITTEST_ONPAGE, wxT("wxBK_HITTEST_ONPAGE") ); wxLogMessage(wxT("HitTest at (%d,%d): %d: %s"),