示例#1
0
CButton* CButton::NewLC(RWindowGroup* aWg,MButtonCallBack* aCB,TInt aResourceId)
	{
	CButton* self = new (ELeave) CButton();
	CleanupStack::PushL(self);
	self->ConstructL(aWg,aCB,aResourceId);
	return self;
	}
示例#2
0
CButton* CButton::NewL(MConnect* aConnect)
    {
    CButton* self = new(ELeave) CButton(aConnect);
    CleanupStack::PushL(self);
    self->ConstructL();
    CleanupStack::Pop(self);
    return self;
    }