summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-25 10:30:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commitf615d6195a2be9f9f2cbd7e9f77f042acac6656f (patch)
tree34d0ddafa342caf8cc79c0ee95a148680b103c1e /rsc/source
parentd1bea6be4f8190c1a6da7768ea2b80a5b51676a8 (diff)
can drop RSC_CONTROL now
Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/parser/rscicpx.cxx17
-rw-r--r--rsc/source/parser/rscinit.cxx5
2 files changed, 0 insertions, 22 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 0d3aa6509188..3adc7122213c 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -245,23 +245,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
return pClassWindow;
}
-RscTop * RscTypCont::InitClassControl( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassControl;
-
- // initialize class
- nId = pHS->getID( "Control" );
- pClassControl = new RscClass( nId, RSC_CONTROL, pSuper );
- pClassControl->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassControl );
-
- InsWinBit( pClassControl, "TabStop", nTabstopId );
- INS_WINBIT(pClassControl,Group)
-
- return pClassControl;
-}
-
RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 066fad44d94b..e7663c8e4016 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -62,7 +62,6 @@ void RscTypCont::Init()
RscTop * pClassImage;
RscTop * pClassImageList;
RscTop * pClassWindow;
- RscTop * pClassControl;
RscTop * pClassKeyCode;
Atom nId;
@@ -283,10 +282,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassWindow );
}
{
- pClassControl = InitClassControl( pClassWindow );
- pRoot->Insert( pClassControl );
-}
-{
pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
pRoot->Insert( pClassKeyCode );
}