X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..2b199a38dccae76ad59f747dd7ef6fcfc680c089:/src/generic/laywin.cpp?ds=inline diff --git a/src/generic/laywin.cpp b/src/generic/laywin.cpp index 3a9b076403..aa608278d1 100644 --- a/src/generic/laywin.cpp +++ b/src/generic/laywin.cpp @@ -54,6 +54,9 @@ void wxSashLayoutWindow::Init() { m_orientation = wxLAYOUT_HORIZONTAL; m_alignment = wxLAYOUT_TOP; +#ifdef __WXMAC__ + MacSetClipChildren( true ) ; +#endif } // This is the function that wxLayoutAlgorithm calls to ascertain the window