Tag: cws_src680_dba201b User: oj Date: 05/07/06 01:20:13 Modified: /dba/dbaccess/source/ui/dlg/ DBSetupConnectionPages.cxx, DBSetupConnectionPages.hxx
Log: #i48453# disable table wizard when open of db app is not checked File Changes: Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: DBSetupConnectionPages.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx?r1=1.4&r2=1.4.44.1 Delta lines: +14 -5 -------------------- --- DBSetupConnectionPages.cxx 10 Mar 2005 16:47:54 -0000 1.4 +++ DBSetupConnectionPages.cxx 6 Jul 2005 08:20:11 -0000 1.4.44.1 @@ -2,9 +2,9 @@ * * $RCSfile: DBSetupConnectionPages.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.4.44.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:47:54 $ + * last change: $Author: oj $ $Date: 2005/07/06 08:20:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -872,7 +872,7 @@ { String stext = m_aFTFinalHeader.GetText(); SetControlFontWeight(&m_aFTFinalHeader); - m_aCBOpenAfterwards.SetClickHdl(getControlModifiedLink()); + m_aCBOpenAfterwards.SetClickHdl(LINK(this, OFinalDBPageSetup, OnOpenSelected)); m_aCBStartTableWizard.SetClickHdl(getControlModifiedLink()); FreeResource(); } @@ -934,6 +934,15 @@ sal_Bool bChangedSomething = sal_True; return bChangedSomething; } + // ----------------------------------------------------------------------------- + IMPL_LINK(OFinalDBPageSetup, OnOpenSelected, CheckBox*, _pBox) + { + m_aCBStartTableWizard.Enable( _pBox->IsEnabled() && _pBox->IsChecked() ); + callModifiedHdl(); + // outta here + return 0L; + } //......................................................................... -} // namespace dbaui +} +// namespace dbaui //......................................................................... File [changed]: DBSetupConnectionPages.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx?r1=1.2&r2=1.2.116.1 Delta lines: +3 -2 ------------------- --- DBSetupConnectionPages.hxx 27 Oct 2004 12:59:22 -0000 1.2 +++ DBSetupConnectionPages.hxx 6 Jul 2005 08:20:11 -0000 1.2.116.1 @@ -2,9 +2,9 @@ * * $RCSfile: DBSetupConnectionPages.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.116.1 $ * - * last change: $Author: pjunck $ $Date: 2004/10/27 12:59:22 $ + * last change: $Author: oj $ $Date: 2005/07/06 08:20:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -341,6 +341,7 @@ /// may be used in SetXXXHdl calls to controls, is a link to <method>OnControlModified</method> Link getControlModifiedLink() { return LINK(this, OGenericAdministrationPage, OnControlModified); } + DECL_LINK(OnOpenSelected, CheckBox*); protected: virtual ~OFinalDBPageSetup(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
