can drop RSC_CONTROL now
Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
This commit is contained in:
parent
d1bea6be4f
commit
f615d6195a
@ -45,8 +45,6 @@
|
||||
|
||||
#define RSC_WINDOW (RSC_NOTYPE + 0x35)
|
||||
|
||||
#define RSC_CONTROL (RSC_NOTYPE + 0x44)
|
||||
|
||||
#define RSC_STRINGARRAY (RSC_NOTYPE + 0x79)
|
||||
|
||||
// (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx
|
||||
|
@ -174,7 +174,6 @@ class RscTypCont
|
||||
RscTop * InitClassImageList( RscTop * pSuper, RscCont * pStrLst );
|
||||
RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
|
||||
RscArray * pLangGeo );
|
||||
RscTop * InitClassControl( RscTop * pSuper );
|
||||
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
|
||||
RscTop * InitClassMenuItem( RscTop * pSuper );
|
||||
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );
|
||||
|
@ -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;
|
||||
|
@ -62,7 +62,6 @@ void RscTypCont::Init()
|
||||
RscTop * pClassImage;
|
||||
RscTop * pClassImageList;
|
||||
RscTop * pClassWindow;
|
||||
RscTop * pClassControl;
|
||||
RscTop * pClassKeyCode;
|
||||
|
||||
Atom nId;
|
||||
@ -282,10 +281,6 @@ void RscTypCont::Init()
|
||||
pLangGeometry );
|
||||
pRoot->Insert( pClassWindow );
|
||||
}
|
||||
{
|
||||
pClassControl = InitClassControl( pClassWindow );
|
||||
pRoot->Insert( pClassControl );
|
||||
}
|
||||
{
|
||||
pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
|
||||
pRoot->Insert( pClassKeyCode );
|
||||
|
Loading…
x
Reference in New Issue
Block a user