diff options
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 ); |