X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7aaef4d5359231941e34faf68f6c8c37f0f2924..359cde15e07bd684c9175b51c04ab02c9ee40745:/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