diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-09 20:52:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-09 20:52:00 +0100 |
commit | 365d1ec2782e5be83e99e6f676b8e248f6ebf16c (patch) | |
tree | 44b8100e81d8228c0f585f8aaf4d16ae059b04f1 /rsc/source/parser | |
parent | 1bfb59ba81984b056d96c442405a31cc3aeb744d (diff) |
no ComboBoxes loaded from .src anymore
Change-Id: Ic497dddfe326e9cc06e71c39284b2848d17ae0c8
Diffstat (limited to 'rsc/source/parser')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 26 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 4 |
2 files changed, 0 insertions, 30 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 85fd6a370d09..003555601ee1 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -403,32 +403,6 @@ RscTop * RscTypCont::InitClassListBox( RscTop * pSuper, RscArray * pStrLst ) return pClassListBox; } -RscTop * RscTypCont::InitClassComboBox( RscTop * pSuper, RscArray * pStrLst ) -{ - Atom nId; - RscTop * pClassComboBox; - - // initialize class - nId = pHS->getID( "ComboBox" ); - pClassComboBox = new RscClass( nId, RSC_COMBOBOX, pSuper ); - pClassComboBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassComboBox ); - - // initialize variables - INS_WINBIT(pClassComboBox,DropDown) - INS_WINBIT(pClassComboBox,Sort) - INS_WINBIT(pClassComboBox,HScroll); - INS_WINBIT(pClassComboBox,VScroll); - INS_WINBIT(pClassComboBox,AutoSize) - INS_WINBIT(pClassComboBox,AutoHScroll) - INS_WINBIT(pClassComboBox,DDExtraWidth) - - nId = aNmTb.Put( "StringList", VARNAME ); - pClassComboBox->SetVariable( nId, pStrLst ); - - return pClassComboBox; -} - RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 2670ed31e1dd..f167cc8d69f2 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -68,7 +68,6 @@ void RscTypCont::Init() RscTop * pClassImageButton; RscTop * pClassEdit; RscTop * pClassListBox; - RscTop * pClassComboBox; RscTop * pClassFixedText; RscTop * pClassFixedImage; RscTop * pClassKeyCode; @@ -321,9 +320,6 @@ void RscTypCont::Init() pClassListBox = InitClassListBox( pClassControl, pLangStringLongTupelList ); pRoot->Insert( pClassListBox ); - pClassComboBox = InitClassComboBox( pClassEdit, pLangStringList ); - pRoot->Insert( pClassComboBox ); - pClassFixedText = InitClassFixedText( pClassControl ); pRoot->Insert( pClassFixedText ); |