X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7aaef4d5359231941e34faf68f6c8c37f0f2924..7721116699a08609eeb5667b0c020b145e1cc5eb:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index a0adb5ed61..5387775761 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -47,7 +47,6 @@ bool MyApp::OnInit() // Create the main window MyFrame *frame = new MyFrame(); - SetTopWindow(frame); // Problem with generic wxNotebook implementation whereby it doesn't size // properly unless you set the size again