X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/453535a739f649ce43a65fd7e6b9730363bb1b7c..8f782954d1c286c1043cc6ed4f887bc05529e067:/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); } // ----------------------------------------------------------------------------