]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/textctrl.cpp
Border correction
[wxWidgets.git] / samples / widgets / textctrl.cpp
index c1e6afb816b134a7c883147651bc865273b4af04..e3f6c7845ed9f13e06bcb11d3c1267e0bd0ca819 100644 (file)
@@ -559,8 +559,6 @@ void TextWidgetsPage::CreateContent()
     sizerTop->Add(m_sizerText, 1, wxGROW | (wxALL & ~wxRIGHT), 10);
 
     SetSizer(sizerTop);
-
-    sizerTop->Fit(this);
 }
 
 // ----------------------------------------------------------------------------