summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-24 17:10:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commitf23297e11148fdd7b28e242e8b77f375f969c617 (patch)
tree1452bd42d6b2af9f42f04d45a8eec2a4679dc172 /rsc
parent30a458d7e1dcd8c7b35cd74b10ce41d2a89e8552 (diff)
no Edit controls loaded from .src now
Change-Id: I42c7377c101c642ea39028e05e4ffd58fc7435d7
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx23
-rw-r--r--rsc/source/parser/rscinit.cxx5
3 files changed, 0 insertions, 29 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index c7f719aa2446..aa08f7cb554d 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -176,7 +176,6 @@ class RscTypCont
RscArray * pLangGeo );
RscTop * InitClassControl( RscTop * pSuper );
RscTop * InitClassPushButton( RscTop * pSuper );
- RscTop * InitClassEdit( RscTop * pSuper );
RscTop * InitClassFixedText( RscTop * pSuper );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
RscTop * InitClassMenuItem( RscTop * pSuper );
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 89b80748bc67..4da88cd3a0e5 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -281,29 +281,6 @@ RscTop * RscTypCont::InitClassPushButton( RscTop * pSuper )
return pClassPushButton;
}
-RscTop * RscTypCont::InitClassEdit( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassEdit;
-
- // initialize class
- nId = pHS->getID( "Edit" );
- pClassEdit = new RscClass( nId, RSC_EDIT, pSuper );
- pClassEdit->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassEdit );
-
- INS_WINBIT(pClassEdit,Left)
- INS_WINBIT(pClassEdit,Center)
- INS_WINBIT(pClassEdit,Right)
- INS_WINBIT(pClassEdit,PassWord)
- INS_WINBIT(pClassEdit,ReadOnly)
-
- nId = aNmTb.Put( "MaxTextLength", VARNAME );
- pClassEdit->SetVariable( nId, &aUShort );
-
- return pClassEdit;
-}
-
RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 4bdaf63a6ef1..ece6ec2eded6 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -65,7 +65,6 @@ void RscTypCont::Init()
RscTop * pClassControl;
RscTop * pClassButton;
RscTop * pClassPushButton;
- RscTop * pClassEdit;
RscTop * pClassFixedText;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
@@ -303,10 +302,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassPushButton );
}
{
- pClassEdit = InitClassEdit( pClassControl );
- pRoot->Insert( pClassEdit );
-}
-{
pClassFixedText = InitClassFixedText( pClassControl );
pRoot->Insert( pClassFixedText );