Enable/Disable of children shouldn't be necessary
the builder counterpart to...
commit 1d69cf32a7
Author: Caolán McNamara <caolanm@redhat.com>
Date: Fri Oct 18 19:23:40 2019 +0100
Enable/Disable of children shouldn't be necessary
Change-Id: Iaad132d1cabf657d884e38b33a167ed165216f43
Reviewed-on: https://gerrit.libreoffice.org/84773
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -2422,6 +2422,10 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
|
||||
SAL_INFO_IF(!xWindow, "vcl.layout", "probably need to implement " << name << " or add a make" << name << " function");
|
||||
if (xWindow)
|
||||
{
|
||||
// child windows of disabled windows are made disabled by vcl by default, we don't want that
|
||||
WindowImpl *pWindowImpl = xWindow->ImplGetWindowImpl();
|
||||
pWindowImpl->mbDisabled = false;
|
||||
|
||||
xWindow->SetHelpId(m_sHelpRoot + id);
|
||||
SAL_INFO("vcl.layout", "for " << name <<
|
||||
", created " << xWindow.get() << " child of " <<
|
||||
|
Reference in New Issue
Block a user