Get rid of win32-crap.[ch]pp
[lsnes.git] / platform / wxwidgets / src / rom_select_window.hpp
blob7f2c0163a1af45aff580695c07c3bbb12675eb35
1 #ifndef _wxwidgets_rom_select_window__hpp__included__
2 #define _wxwidgets_rom_select_window__hpp__included__
4 #include <wx/wx.h>
5 #include <wx/event.h>
6 #include <wx/control.h>
7 #include <wx/combobox.h>
8 #include "filenamebox.hpp"
9 #include "rom.hpp"
10 #include "labelcombobox.hpp"
12 class wx_rom_select_window : public wxFrame
14 public:
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);
21 loaded_rom* our_rom;
22 private:
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;
31 wxButton* open_rom;
32 wxButton* quit_button;
33 std::string current_rtype;
34 void set_rtype(std::string rtype);
37 #endif