can drop RSC_CONTROL now

Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
This commit is contained in:
Caolán McNamara 2016-10-25 10:30:04 +01:00
parent d1bea6be4f
commit f615d6195a
4 changed files with 0 additions and 25 deletions

View File

@ -45,8 +45,6 @@
#define RSC_WINDOW (RSC_NOTYPE + 0x35) #define RSC_WINDOW (RSC_NOTYPE + 0x35)
#define RSC_CONTROL (RSC_NOTYPE + 0x44)
#define RSC_STRINGARRAY (RSC_NOTYPE + 0x79) #define RSC_STRINGARRAY (RSC_NOTYPE + 0x79)
// (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx // (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx

View File

@ -174,7 +174,6 @@ class RscTypCont
RscTop * InitClassImageList( RscTop * pSuper, RscCont * pStrLst ); RscTop * InitClassImageList( RscTop * pSuper, RscCont * pStrLst );
RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
RscArray * pLangGeo ); RscArray * pLangGeo );
RscTop * InitClassControl( RscTop * pSuper );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ); RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
RscTop * InitClassMenuItem( RscTop * pSuper ); RscTop * InitClassMenuItem( RscTop * pSuper );
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem ); RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );

View File

@ -245,23 +245,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit,
return pClassWindow; 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 ) RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
{ {
Atom nId; Atom nId;

View File

@ -62,7 +62,6 @@ void RscTypCont::Init()
RscTop * pClassImage; RscTop * pClassImage;
RscTop * pClassImageList; RscTop * pClassImageList;
RscTop * pClassWindow; RscTop * pClassWindow;
RscTop * pClassControl;
RscTop * pClassKeyCode; RscTop * pClassKeyCode;
Atom nId; Atom nId;
@ -282,10 +281,6 @@ void RscTypCont::Init()
pLangGeometry ); pLangGeometry );
pRoot->Insert( pClassWindow ); pRoot->Insert( pClassWindow );
} }
{
pClassControl = InitClassControl( pClassWindow );
pRoot->Insert( pClassControl );
}
{ {
pClassKeyCode = InitClassKeyCode( pClassMgr, pKey ); pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
pRoot->Insert( pClassKeyCode ); pRoot->Insert( pClassKeyCode );