diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-30 13:03:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:43 +0100 |
commit | 41d2ae98758da4be882e009d3b5c3868e6f91ee0 (patch) | |
tree | 202e43cc33661a790fa0142fe9027b01466d5f6f /vcl | |
parent | 19863833be0cfc8b72cee5bbc7ebf32f0c423468 (diff) |
drop autoshow of all widgets, and honour visibility flag
Change-Id: I752c8be2830441114b747a809eb1a331ac19472a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 50e6b94eb62b..d85966fd464b 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -126,17 +126,6 @@ VclBuilder::VclBuilder(Window *pParent, rtl::OUString sUIDir, rtl::OUString sUIF //drop maps, etc. now delete m_pParserState; - - //auto-show (really necessary ?, maybe drop it when complete) - for (std::vector<WinAndId>::iterator aI = m_aChildren.begin(), - aEnd = m_aChildren.end(); aI != aEnd; ++aI) - { - Window *pWindow = aI->m_pWindow; - if (pWindow) - { - pWindow->Show(); - } - } } VclBuilder::~VclBuilder() @@ -375,11 +364,13 @@ Window *VclBuilder::makeObject(Window *pParent, const rtl::OString &name, const if (!bIsPlaceHolder) { TabPage* pPage = new TabPage(pTabControl); + pPage->Show(); m_aChildren.push_back(WinAndId(rtl::OString(), pPage)); //And give the page one container as a child to make it a layout enabled //tab page VclBin* pContainer = new VclBin(pPage); + pContainer->Show(); m_aChildren.push_back(WinAndId(rtl::OString(), pContainer)); pParent = pContainer; @@ -789,8 +780,6 @@ void VclBuilder::handleRow(xmlreader::XmlReader &reader, const rtl::OString &rID { int nLevel = 1; - fprintf(stderr, "handleRow for %s\n", rID.getStr()); - ListStore::row aRow; while(1) |