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