Move the wxwidgets stuff to one directory
[lsnes.git] / platform / wxwidgets / common.cpp
blobc0ac5e3e6262e6a200079d23841dce096523ed69
1 #include "common.hpp"
3 wxString towxstring(const std::string& str)
5 return wxString(str.c_str(), wxConvUTF8);
8 std::string tostdstring(const wxString& str)
10 return std::string(str.mb_str(wxConvUTF8));
13 long primary_window_style = wxMINIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN | wxCLOSE_BOX;
14 long secondary_window_style = wxMINIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN;
16 wxFrame* window1;
17 wxFrame* window2;