1 #ifndef _plat_wxwidgets__window_mainwindow__hpp__included__
2 #define _plat_wxwidgets__window_mainwindow__hpp__included__
4 #include "plat-wxwidgets/window_status.hpp"
11 class wxwin_mainwindow
: public wxFrame
14 class panel
: public wxPanel
18 void on_paint(wxPaintEvent
& e
);
20 void on_erase(wxEraseEvent
& e
);
21 void on_keyboard_down(wxKeyEvent
& e
);
22 void on_keyboard_up(wxKeyEvent
& e
);
23 void on_mouse(wxMouseEvent
& e
);
27 void notify_update() throw();
28 void notify_update_status() throw();
29 void notify_exit() throw();
30 void on_close(wxCloseEvent
& e
);
31 void menu_start(wxString name
);
32 void menu_special(wxString name
, wxMenu
* menu
);
33 void menu_special_sub(wxString name
, wxMenu
* menu
);
34 void menu_entry(int id
, wxString name
);
35 void menu_entry_check(int id
, wxString name
);
36 void menu_start_sub(wxString name
);
37 void menu_end_sub(wxString name
);
38 bool menu_ischecked(int id
);
39 void menu_check(int id
, bool newstate
);
40 void menu_separator();
41 void handle_menu_click(wxCommandEvent
& e
);
42 void menu_edit_keybindings(wxCommandEvent
& e
);
43 void menu_edit_aliases(wxCommandEvent
& e
);
44 void menu_edit_jukebox(wxCommandEvent
& e
);
45 void menu_edit_memorywatch(wxCommandEvent
& e
);
46 void menu_save_memorywatch(wxCommandEvent
& e
);
47 void menu_load_memorywatch(wxCommandEvent
& e
);
52 wxwin_status::panel
* spanel
;
53 std::map
<int, wxMenuItem
*> checkitems
;
54 std::stack
<wxMenu
*> upper
;