cpp/MainWindow.hpp
changeset 5 f2a2f64eb682
parent 2 5331bd08a294
child 6 66becdcbe5d9
--- a/cpp/MainWindow.hpp	Sun Feb 13 08:27:44 2011 +0100
+++ b/cpp/MainWindow.hpp	Sun Feb 13 08:43:06 2011 +0100
@@ -2,11 +2,23 @@
 #define _HEADER_MAINWINDOW_HPP_
 
 #include <wx/wx.h>
+#include <wx/event.h>
 
 class MainWindow : public wxFrame
 {
-public:
-    MainWindow();
+    public:
+        enum
+        {
+            ID_SKIP_QUESTION,
+            ID_SAVE_SENTENCE
+        };
+
+        MainWindow();
+
+        void OnSkipQuestion(wxCommandEvent &e);
+        void OnSaveSentence(wxCommandEvent &e);
+
+    DECLARE_EVENT_TABLE();
 };
 
 #endif /* _HEADER_MAINWINDOW_HPP_ */