Fiddled with wxFindWindowAtPoint to make it work with notebooks and static boxes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-09-26 15:36:12 +00:00
parent cc1fcb9584
commit d1c8aaa3ee
2 changed files with 62 additions and 4 deletions

View File

@@ -119,6 +119,15 @@ bool wxContextHelp::BeginContextHelp(wxWindow* win)
{
wxPoint pt;
wxWindow* winAtPtr = wxFindWindowAtPointer(pt);
/*
if (winAtPtr)
{
wxString msg;
msg.Printf("Picked %s (%d)", (const char*) winAtPtr->GetName(), winAtPtr->GetId());
cout << msg << '\n';
}
*/
if (winAtPtr)
DispatchEvent(winAtPtr, pt);
}