]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolwin.cpp
bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
[wxWidgets.git] / src / gtk / scrolwin.cpp
index 46cefd3e0fcfd4b45e366791b2684dbcec3c1a9f..2f5bd81523d99139d1cae5766bf0054a8a765808 100644 (file)
@@ -298,6 +298,8 @@ bool wxScrolledWindow::Create(wxWindow *parent,
 
     if (m_parent)
         m_parent->DoAddChild( this );
 
     if (m_parent)
         m_parent->DoAddChild( this );
+        
+    m_focusWidget = m_wxwindow;
 
     PostCreation();
 
 
     PostCreation();