Change deprecated API
[apps/native/sample/BasicApp.git] / project / src / BasicAppFrame.cpp
index 4ec1897..ee0a79c 100644 (file)
@@ -1,8 +1,7 @@
 //
-// Tizen C++ SDK
 // 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
 //
@@ -53,7 +52,7 @@ BasicAppFrame::OnInitializing(void)
        AddControl(pMainForm);
 
        // Set the current form
-       SetCurrentForm(*pMainForm);
+       SetCurrentForm(pMainForm);
 
        // Draw the form
        pMainForm->Invalidate(true);