]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolwin.cpp
fixed crash in OnSize() handler
[wxWidgets.git] / src / gtk1 / scrolwin.cpp
index 46cefd3e0fcfd4b45e366791b2684dbcec3c1a9f..2f5bd81523d99139d1cae5766bf0054a8a765808 100644 (file)
@@ -298,6 +298,8 @@ bool wxScrolledWindow::Create(wxWindow *parent,
 
     if (m_parent)
         m_parent->DoAddChild( this );
+        
+    m_focusWidget = m_wxwindow;
 
     PostCreation();