Check wxBK_HITTEST_ONITEM state in hit test in notebook sample
Closes https://github.com/wxWidgets/wxWidgets/pull/159
This commit is contained in:
parent
1237e932ad
commit
3e24453be4
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user