Index: branches/undo/gui/src/widgets/Button.h
===================================================================
--- branches/undo/gui/src/widgets/Button.h	(revision 377)
+++ branches/undo/gui/src/widgets/Button.h	(revision 1604)
@@ -28,4 +28,7 @@
 
 #include <hydrogen/Object.h>
+#include <hydrogen/action.h>
+
+#include "MidiLearnable.h"
 
 #include <QtGui>
@@ -36,5 +39,5 @@
  * Generic Button with pixmaps and text.
  */
-class Button : public QWidget, public Object
+class Button : public QWidget, public Object, public MidiLearnable
 {
 	Q_OBJECT
