diff options
author | Stephan Bergmann <sb@openoffice.org> | 2002-07-03 14:53:24 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2002-07-03 14:53:24 +0000 |
commit | 8f3bc6cb9c61b6e51488a0535b2d0065697ea62b (patch) | |
tree | d348a55911d0428d879f073a3a862adaf73e8073 /basctl/source/basicide/moduldlg.cxx | |
parent | 3206ec46bab1604995b8e83c12d3395f3a6e8866 (diff) |
#99748# #99750# #99752# #99753# Enabled high contrast mode for various BASIC IDE controls.
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 495c52c98a26..7489e2c5edc6 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: moduldlg.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: tbe $ $Date: 2001-12-18 11:26:25 $ + * last change: $Author: sb $ $Date: 2002-07-03 15:50:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -927,9 +927,11 @@ void ObjectPage::NewModule() } SvLBoxEntry* pLibEntry = aBasicBox.FindLibEntry( pLib ); DBG_ASSERT( pLibEntry, "Libeintrag nicht gefunden!" ); - SvLBoxEntry* pEntry = aBasicBox.InsertEntry( aModName, aBasicBox.GetImage( IMGID_MODULE ), aBasicBox.GetImage( IMGID_MODULE ), pLibEntry, FALSE, LIST_APPEND ); + SvLBoxEntry * pEntry = aBasicBox.insertEntry( + aModName, IMGID_MODULE, pLibEntry, false, + std::auto_ptr< BasicEntry >(new BasicEntry( + OBJTYPE_MODULE))); DBG_ASSERT( pEntry, "InsertEntry fehlgeschlagen!" ); - pEntry->SetUserData( new BasicEntry( OBJTYPE_MODULE ) ); aBasicBox.SetCurEntry( pEntry ); aBasicBox.Select( aBasicBox.GetCurEntry() ); // OV-Bug?! } @@ -981,9 +983,11 @@ void ObjectPage::NewDialog() } SvLBoxEntry* pLibEntry = aBasicBox.FindLibEntry( pLib ); DBG_ASSERT( pLibEntry, "Libeintrag nicht gefunden!" ); - SvLBoxEntry* pEntry = aBasicBox.InsertEntry( aDlgName, aBasicBox.GetImage( IMGID_OBJECT ), aBasicBox.GetImage( IMGID_OBJECT ), pLibEntry, FALSE, LIST_APPEND ); + SvLBoxEntry * pEntry = aBasicBox.insertEntry( + aDlgName, IMGID_OBJECT, pLibEntry, false, + std::auto_ptr< BasicEntry >(new BasicEntry( + OBJTYPE_OBJECT))); DBG_ASSERT( pEntry, "InsertEntry fehlgeschlagen!" ); - pEntry->SetUserData( new BasicEntry( OBJTYPE_OBJECT ) ); aBasicBox.SetCurEntry( pEntry ); aBasicBox.Select( aBasicBox.GetCurEntry() ); // OV-Bug?! } |