1 #ifndef _wxwidgets_rom_select_window__hpp__included__
2 #define _wxwidgets_rom_select_window__hpp__included__
6 #include <wx/control.h>
7 #include <wx/combobox.h>
8 #include "filenamebox.hpp"
10 #include "labelcombobox.hpp"
12 class wx_rom_select_window
: public wxFrame
15 wx_rom_select_window();
16 ~wx_rom_select_window();
17 void on_filename_change(wxCommandEvent
& e
);
18 void on_romtype_change(wxCommandEvent
& e
);
19 void on_quit(wxCommandEvent
& e
);
20 void on_open_rom(wxCommandEvent
& e
);
23 labeledcombobox
* rtypec
;
24 labeledcombobox
* regionc
;
25 filenamebox
* main_rom
;
26 filenamebox
* main_xml
;
27 filenamebox
* slota_rom
;
28 filenamebox
* slota_xml
;
29 filenamebox
* slotb_rom
;
30 filenamebox
* slotb_xml
;
32 wxButton
* quit_button
;
33 std::string current_rtype
;
34 void set_rtype(std::string rtype
);