]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/checkbox.cpp
fixing infinite recursion for rotated text, introduced in cleanup r57915
[wxWidgets.git] / samples / widgets / checkbox.cpp
index 65a5c1ea4ead0b4967ed3d6420c7db913ae6c358..6ecbfd872a1d36d3070bc8b6ebae4d5638444053 100644 (file)
@@ -233,8 +233,6 @@ void CheckBoxWidgetsPage::CreateContent()
     Reset();
 
     SetSizer(sizerTop);
-
-    sizerTop->Fit(this);
 }
 
 void CheckBoxWidgetsPage::Reset()