X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..716ed2259a90954581baea38e4de16c772d6b27e:/samples/notebook/notebook.cpp?ds=sidebyside diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index b69850bd96..5762ffffcf 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -47,7 +47,7 @@ bool MyApp::OnInit() // Problem with generic wxNotebook implementation whereby it doesn't size properly unless // you set the size again -#if defined(__WIN16__) +#if defined(__WIN16__) || defined(__WXMOTIF__) int width, height; frame->GetSize(& width, & height); frame->SetSize(-1, -1, width, height);