Revert "Revert "KeyEvent class pimpling""
[platform/core/uifw/dali-demo.git] / examples / hello-world / hello-world-example.cpp
index 8e19077..8fc6997 100644 (file)
@@ -63,7 +63,7 @@ public:
 
   void OnKeyEvent( const KeyEvent& event )
   {
-    if( event.state == KeyEvent::Down )
+    if( event.GetState() == KeyEvent::Down )
     {
       if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
       {