X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c3357374af44fdcae9d326e62ab5a39d9517102d:/samples/notebook/notebook.cpp 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);