From: Julian Smart Date: Mon, 23 May 2005 11:08:41 +0000 (+0000) Subject: Use wxCLIP_CHILDREN in case we've disabled clipping globally X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ac5f5c9eda9b87310e281e0affe19139f2e64a70 Use wxCLIP_CHILDREN in case we've disabled clipping globally git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/propdlg.cpp b/src/generic/propdlg.cpp index abfc87723d..d8ee50ab87 100644 --- a/src/generic/propdlg.cpp +++ b/src/generic/propdlg.cpp @@ -47,7 +47,7 @@ bool wxPropertySheetDialog::Create(wxWindow* parent, wxWindowID id, const wxStri const wxPoint& pos, const wxSize& sz, long style, const wxString& name) { - if (!wxDialog::Create(parent, id, title, pos, sz, style, name)) + if (!wxDialog::Create(parent, id, title, pos, sz, style|wxCLIP_CHILDREN, name)) return false; wxBoxSizer *topSizer = new wxBoxSizer( wxVERTICAL ); @@ -110,7 +110,7 @@ void wxPropertySheetDialog::CreateButtons(int flags) // Creates the book control wxBookCtrlBase* wxPropertySheetDialog::CreateBookCtrl() { - int style = 0; + int style = wxCLIP_CHILDREN; #if defined(__POCKETPC__) && wxUSE_NOTEBOOK style |= wxNB_BOTTOM|wxNB_FLAT; #else