honour closeable flag
Change-Id: I4b37d6698d3ebd6449c5ba797784b49cc7b2cada Reviewed-on: https://gerrit.libreoffice.org/81757 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
c9858b725b
commit
07d78b38fb
@ -1748,9 +1748,11 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
|
||||
// WB_ALLOWMENUBAR because we don't know in advance if we will encounter
|
||||
// a menubar, and menubars need a BorderWindow in the toplevel, and
|
||||
// such border windows need to be in created during the dialog ctor
|
||||
WinBits nBits = WB_MOVEABLE|WB_3DLOOK|WB_CLOSEABLE|WB_ALLOWMENUBAR;
|
||||
WinBits nBits = WB_MOVEABLE|WB_3DLOOK|WB_ALLOWMENUBAR;
|
||||
if (extractResizable(rMap))
|
||||
nBits |= WB_SIZEABLE;
|
||||
if (extractCloseable(rMap))
|
||||
nBits |= WB_CLOSEABLE;
|
||||
Dialog::InitFlag eInit = !pParent ? Dialog::InitFlag::NoParent : Dialog::InitFlag::Default;
|
||||
if (name == "GtkAssistant")
|
||||
xWindow = VclPtr<vcl::RoadmapWizard>::Create(pParent, nBits, eInit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user