X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf19b0bd2567b4c3b2a6f9b60587909a7c784a98..bcd3d8d9e26e41615d26d457ba0e2b84b80a0356:/src/gtk1/scrolwin.cpp diff --git a/src/gtk1/scrolwin.cpp b/src/gtk1/scrolwin.cpp index 46cefd3e0f..2f5bd81523 100644 --- a/src/gtk1/scrolwin.cpp +++ b/src/gtk1/scrolwin.cpp @@ -298,6 +298,8 @@ bool wxScrolledWindow::Create(wxWindow *parent, if (m_parent) m_parent->DoAddChild( this ); + + m_focusWidget = m_wxwindow; PostCreation();