From 035cc92ee2a435ff1d663e2037f543578dd2578a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Apr 2012 01:07:23 +0300 Subject: Block enter key from pressing active button. --- src/guichan/include/guichan/widgets/button.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/guichan/include') diff --git a/src/guichan/include/guichan/widgets/button.hpp b/src/guichan/include/guichan/widgets/button.hpp index a934499d0..b8a442c40 100644 --- a/src/guichan/include/guichan/widgets/button.hpp +++ b/src/guichan/include/guichan/widgets/button.hpp @@ -162,13 +162,6 @@ namespace gcn virtual void mouseDragged(MouseEvent& mouseEvent); - - // Inherited from KeyListener - - virtual void keyPressed(KeyEvent& keyEvent); - - virtual void keyReleased(KeyEvent& keyEvent); - protected: /** * Checks if the button is pressed. Convenient method to use -- cgit v1.2.3-70-g09d2