lsnes/platform/wxwidgets/common.cpp
2011-11-05 22:18:54 +02:00

17 lines
443 B
C++

#include "common.hpp"
wxString towxstring(const std::string& str)
{
return wxString(str.c_str(), wxConvUTF8);
}
std::string tostdstring(const wxString& str)
{
return std::string(str.mb_str(wxConvUTF8));
}
long primary_window_style = wxMINIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN | wxCLOSE_BOX;
long secondary_window_style = wxMINIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN;
wxFrame* window1;
wxFrame* window2;