X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fdrag-and-drop%2Fdrag-and-drop-example.cpp;h=22e733f762eedc894f992c19d1896a2da6001df5;hb=refs%2Fchanges%2F09%2F242509%2F5;hp=2444913fae5e9fa2cb748726df063b38326925be;hpb=697a682afc7ff5a0078843ec2cb61ac2c00f2e90;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/drag-and-drop/drag-and-drop-example.cpp b/examples/drag-and-drop/drag-and-drop-example.cpp index 2444913..22e733f 100644 --- a/examples/drag-and-drop/drag-and-drop-example.cpp +++ b/examples/drag-and-drop/drag-and-drop-example.cpp @@ -118,7 +118,7 @@ public: void OnKeyEvent( const KeyEvent& event ) { - if( event.GetState() == KeyEvent::Down ) + if( event.GetState() == KeyEvent::DOWN ) { if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) ) {