X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55b43eaa025408453e90a6c01f64215a9203da9a..5ef723747cc680b3c237053bf0e3a78f0f179694:/samples/widgets/textctrl.cpp diff --git a/samples/widgets/textctrl.cpp b/samples/widgets/textctrl.cpp index c1e6afb816..e3f6c7845e 100644 --- a/samples/widgets/textctrl.cpp +++ b/samples/widgets/textctrl.cpp @@ -559,8 +559,6 @@ void TextWidgetsPage::CreateContent() sizerTop->Add(m_sizerText, 1, wxGROW | (wxALL & ~wxRIGHT), 10); SetSizer(sizerTop); - - sizerTop->Fit(this); } // ----------------------------------------------------------------------------