Tag: cws_src680_dba23ui User: fs Date: 2007-05-19 21:30:25+0000 Log: RESYNC: (1.15-1.17); FILE MERGED
File Changes: Directory: /dba/dbaccess/source/ui/control/ =========================================== File [changed]: dbtreelistbox.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/dbtreelistbox.cxx?r1=1.15.8.1&r2=1.15.8.2 Delta lines: +11 -5 -------------------- --- dbtreelistbox.cxx 2006-12-21 08:28:15+0000 1.15.8.1 +++ dbtreelistbox.cxx 2007-05-19 21:30:22+0000 1.15.8.2 @@ -204,9 +204,9 @@ } // ------------------------------------------------------------------------- -void DBTreeListBox::InitEntry( SvLBoxEntry* _pEntry, const XubString& aStr, const Image& _rCollEntryBmp, const Image& _rExpEntryBmp) +void DBTreeListBox::InitEntry( SvLBoxEntry* _pEntry, const XubString& aStr, const Image& _rCollEntryBmp, const Image& _rExpEntryBmp, SvLBoxButtonKind eButtonKind) { - SvTreeListBox::InitEntry( _pEntry, aStr, _rCollEntryBmp,_rExpEntryBmp); + SvTreeListBox::InitEntry( _pEntry, aStr, _rCollEntryBmp,_rExpEntryBmp, eButtonKind); SvLBoxItem* pTextItem(_pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); SvLBoxString* pString = new OBoldListboxString( _pEntry, 0, aStr ); _pEntry->ReplaceItem( pString,_pEntry->GetPos(pTextItem)); @@ -582,6 +582,12 @@ aSelectHdl.Call( m_pSelectedEntry ); return 0L; } +// ----------------------------------------------------------------------------- +void DBTreeListBox::StateChanged( StateChangedType nStateChange ) +{ + if ( nStateChange == STATE_CHANGE_VISIBLE && m_aTimer.IsActive() ) + m_aTimer.Stop(); +} // ......................................................................... } // namespace dbaui // ......................................................................... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
