diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-16 18:36:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-16 18:36:24 +0100 |
commit | 1c13f9c2b67d3a26a8cbbc11b6ae0dc1dc2d30ca (patch) | |
tree | e61983a825ac8bd5139c6149592f5c01c51ea51a /rsc | |
parent | b0da096c610b4392277a3b7fe3c7c29d2c8c3fcf (diff) |
RSC_TRISTATEBOX is no longer used
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 1 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 20 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 4 |
3 files changed, 0 insertions, 25 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index b8fc762c73f5..6aca60256800 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -176,7 +176,6 @@ class RscTypCont RscTop * InitClassControl( RscTop * pSuper ); RscTop * InitClassCheckBox( RscTop * pSuper ); RscTop * InitClassPushButton( RscTop * pSuper ); - RscTop * InitClassTriStateBox( RscTop * pSuper, RscEnum * pTriState ); RscTop * InitClassImageButton( RscTop * pSuper, RscTop * pClassImage, RscEnum * pTriState ); RscTop * InitClassEdit( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 195f6afeeca0..6169edaad1c0 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -432,26 +432,6 @@ RscTop * RscTypCont::InitClassPushButton( RscTop * pSuper ) return pClassPushButton; } -RscTop * RscTypCont::InitClassTriStateBox( RscTop * pSuper, - RscEnum * pTriState ) -{ - Atom nId; - RscTop * pClassTriStateBox; - - nId = pHS->getID( "TriStateBox" ); - pClassTriStateBox = new RscClass( nId, RSC_TRISTATEBOX, pSuper ); - pClassTriStateBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassTriStateBox ); - - // Variablen anlegen - nId = aNmTb.Put( "State", VARNAME ); - pClassTriStateBox->SetVariable( nId, pTriState ); - nId = aNmTb.Put( "TriStateDisable", VARNAME ); - pClassTriStateBox->SetVariable( nId, &aBool ); - - return pClassTriStateBox; -} - RscTop * RscTypCont::InitClassImageButton( RscTop * pSuper, RscTop * pClassImage, RscEnum * pTriState ) diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 0aecf074de40..70415bcffee3 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -82,7 +82,6 @@ void RscTypCont::Init() RscTop * pClassHelpButton; RscTop * pClassRadioButton; RscTop * pClassImageButton; - RscTop * pClassTriStateBox; RscTop * pClassEdit; RscTop * pClassListBox; RscTop * pClassComboBox; @@ -417,9 +416,6 @@ void RscTypCont::Init() pClassRadioButton = InitClassRadioButton( pClassButton ); pRoot->Insert( pClassRadioButton ); - pClassTriStateBox = InitClassTriStateBox( pClassControl, pTriState ); - pRoot->Insert( pClassTriStateBox ); - pClassImageButton = InitClassImageButton( pClassPushButton, pClassImage, pTriState ); pRoot->Insert( pClassImageButton ); |