Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -606,6 +606,7 @@ wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt)
|
||||
|
||||
// Hack for wxNotebook case: at least in wxGTK, all pages
|
||||
// claim to be shown, so we must only deal with the selected one.
|
||||
#if wxUSE_NOTEBOOK
|
||||
if (win->IsKindOf(CLASSINFO(wxNotebook)))
|
||||
{
|
||||
wxNotebook* nb = (wxNotebook*) win;
|
||||
@@ -618,6 +619,8 @@ wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt)
|
||||
return foundWin;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Doesn't work
|
||||
// Frame case
|
||||
else if (win->IsKindOf(CLASSINFO(wxFrame)))
|
||||
|
Reference in New Issue
Block a user