Check wxBK_HITTEST_ONITEM state in hit test in notebook sample

Closes https://github.com/wxWidgets/wxWidgets/pull/159
This commit is contained in:
Artur Wieczorek 2016-01-30 19:10:20 +01:00 committed by Vadim Zeitlin
parent 1237e932ad
commit 3e24453be4

View File

@ -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"),