summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-24 17:13:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commitcd6e8837c17922c9ccf2b5740036853ac3adce45 (patch)
tree6a49c639ac0cded401fce0a07222c3debc749a4e /rsc/source/parser
parentf23297e11148fdd7b28e242e8b77f375f969c617 (diff)
no PushButton loaded from .src now
Change-Id: Ib866107995ab0496cf4f37a5e780458031d2fc25
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rscicpx.cxx19
-rw-r--r--rsc/source/parser/rscinit.cxx5
2 files changed, 0 insertions, 24 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 4da88cd3a0e5..b2410819769c 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -262,25 +262,6 @@ RscTop * RscTypCont::InitClassControl( RscTop * pSuper )
return pClassControl;
}
-RscTop * RscTypCont::InitClassPushButton( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassPushButton;
-
- // initialize class
- nId = pHS->getID( "PushButton" );
- pClassPushButton = new RscClass( nId, RSC_PUSHBUTTON, pSuper );
- pClassPushButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassPushButton );
-
- InsWinBit( pClassPushButton, "DefButton", nDefaultId );
- INS_WINBIT( pClassPushButton, Top )
- INS_WINBIT( pClassPushButton, VCenter )
- INS_WINBIT( pClassPushButton, Bottom )
-
- return pClassPushButton;
-}
-
RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index ece6ec2eded6..1c57ef86591a 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -64,7 +64,6 @@ void RscTypCont::Init()
RscTop * pClassWindow;
RscTop * pClassControl;
RscTop * pClassButton;
- RscTop * pClassPushButton;
RscTop * pClassFixedText;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
@@ -296,10 +295,6 @@ void RscTypCont::Init()
pClassButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
aNmTb.Put( nId, CLASSNAME, pClassButton );
pRoot->Insert( pClassButton );
-
- // initialize class
- pClassPushButton = InitClassPushButton( pClassButton );
- pRoot->Insert( pClassPushButton );
}
{
pClassFixedText = InitClassFixedText( pClassControl );