Change deprecated API
[apps/native/sample/BasicApp.git] / project / src / BasicAppFrame.cpp
index 682b422..ee0a79c 100644 (file)
@@ -52,7 +52,7 @@ BasicAppFrame::OnInitializing(void)
        AddControl(pMainForm);
 
        // Set the current form
-       SetCurrentForm(*pMainForm);
+       SetCurrentForm(pMainForm);
 
        // Draw the form
        pMainForm->Invalidate(true);