User: hr Date: 05/09/23 05:17:49 Modified: /dba/dbaccess/source/ui/app/ AppView.cxx
Log: INTEGRATION: CWS dba201b (1.9.22); FILE MERGED 2005/09/21 07:50:54 oj 1.9.22.2: RESYNC: (1.9-1.10); FILE MERGED 2005/07/11 13:37:11 fs 1.9.22.1: merging CWS dba201 into CWS dba201b File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppView.cxx?r1=1.10&r2=1.11 Delta lines: +9 -3 ------------------- --- AppView.cxx 8 Sep 2005 14:22:57 -0000 1.10 +++ AppView.cxx 23 Sep 2005 12:17:46 -0000 1.11 @@ -133,11 +133,14 @@ //================================================================== // class OAppBorderWindow +DBG_NAME(OAppBorderWindow) //================================================================== -OAppBorderWindow::OAppBorderWindow(OApplicationView* _pParent) : Window(_pParent,WB_DIALOGCONTROL) +OAppBorderWindow::OAppBorderWindow(OApplicationView* _pParent,PreviewMode _ePreviewMode) : Window(_pParent,WB_DIALOGCONTROL) ,m_pView(_pParent) ,m_pPanel(NULL) { + DBG_CTOR(OAppBorderWindow,NULL); + SetBorderStyle(WINDOW_BORDER_MONO); m_pPanel = new OTitleWindow(this,STR_DATABASE,WB_BORDER | WB_DIALOGCONTROL ,FALSE); @@ -150,7 +153,7 @@ m_pPanel->SetUniqueId(UID_APP_DATABASE_VIEW); m_pPanel->Show(); - m_pDetailView = new OApplicationDetailView(this); + m_pDetailView = new OApplicationDetailView(this,_ePreviewMode); m_pDetailView->Show(); ImplInitSettings(); @@ -172,6 +175,8 @@ ::std::auto_ptr<Window> aTemp(m_pDetailView); m_pDetailView = NULL; } + + DBG_DTOR(OAppBorderWindow,NULL); } // ----------------------------------------------------------------------------- void OAppBorderWindow::GetFocus() @@ -241,6 +246,7 @@ ,IContainerFoundListener* _pContainerListener ,IViewChangeListener* _pViewChangeListener ,const Reference< XController>& _xController + ,PreviewMode _ePreviewMode ) : ODataView( pParent ,_pIController,_rxOrb,WB_DIALOGCONTROL ) ,m_pElementNotification( _pController ) @@ -260,7 +266,7 @@ { } - m_pWin = new OAppBorderWindow(this); + m_pWin = new OAppBorderWindow(this,_ePreviewMode); m_pWin->SetUniqueId(UID_APP_VIEW_BORDER_WIN); m_pWin->Show(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
