//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
r = pCancelButton->Construct(Rectangle(VERTICAL_PADDING, listHeight + CANCEL_BUTTON_PADDING , W_CANCEL_BUTTON, H_CANCEL_BUTTON), strText);
pCancelButton->SetActionId(IDA_BUTTON_CANCEL_OPTIONS_POPUP);
pCancelButton->AddActionEventListener(*this);
- r = AddControl(*pCancelButton);
+ r = AddControl(pCancelButton);
TryReturn(r == E_SUCCESS, r, "CallOptionPopup::AddControl() failed");
ListView* pListView = new (std::nothrow) ListView();
pListView->Construct(Rectangle(0, 0, W_POPUP, listHeight), true, SCROLL_STYLE_FADE_OUT);
pListView->AddListViewItemEventListener(*this);
pListView->SetItemProvider(*this);
- r = AddControl(*pListView);
+ r = AddControl(pListView);