X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/453535a739f649ce43a65fd7e6b9730363bb1b7c..00dc9772321d7539fd155cdf529821f2fbfc82fb:/samples/widgets/button.cpp diff --git a/samples/widgets/button.cpp b/samples/widgets/button.cpp index c06a28bf69..914fa1a08b 100644 --- a/samples/widgets/button.cpp +++ b/samples/widgets/button.cpp @@ -275,8 +275,6 @@ void ButtonWidgetsPage::CreateContent() CreateButton(); SetSizer(sizerTop); - - sizerTop->Fit(this); } // ----------------------------------------------------------------------------