backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-12-20 18:36:19 +00:00
parent d198606868
commit 237d84033e
4 changed files with 81 additions and 0 deletions

View File

@@ -163,6 +163,10 @@ public:
void HandleOnMouseWheel(wxMouseEvent& event);
#endif // wxUSE_MOUSEWHEEL
#if wxABI_VERSION >= 20808
void HandleOnChildFocus(wxChildFocusEvent& event);
#endif
// FIXME: this is needed for now for wxPlot compilation, should be removed
// once it is fixed!
void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }