cpp/MainWindow.hpp
changeset 5 f2a2f64eb682
parent 2 5331bd08a294
child 6 66becdcbe5d9
equal deleted inserted replaced
4:a3d29fb016c3 5:f2a2f64eb682
     1 #ifndef _HEADER_MAINWINDOW_HPP_
     1 #ifndef _HEADER_MAINWINDOW_HPP_
     2 #define _HEADER_MAINWINDOW_HPP_
     2 #define _HEADER_MAINWINDOW_HPP_
     3 
     3 
     4 #include <wx/wx.h>
     4 #include <wx/wx.h>
       
     5 #include <wx/event.h>
     5 
     6 
     6 class MainWindow : public wxFrame
     7 class MainWindow : public wxFrame
     7 {
     8 {
     8 public:
     9     public:
     9     MainWindow();
    10         enum
       
    11         {
       
    12             ID_SKIP_QUESTION,
       
    13             ID_SAVE_SENTENCE
       
    14         };
       
    15 
       
    16         MainWindow();
       
    17 
       
    18         void OnSkipQuestion(wxCommandEvent &e);
       
    19         void OnSaveSentence(wxCommandEvent &e);
       
    20 
       
    21     DECLARE_EVENT_TABLE();
    10 };
    22 };
    11 
    23 
    12 #endif /* _HEADER_MAINWINDOW_HPP_ */
    24 #endif /* _HEADER_MAINWINDOW_HPP_ */