Fix Win32 compile errors
This commit is contained in:
parent
006eaf3c78
commit
154bcc7459
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
wxeditor_conflict::wxeditor_conflict(wxWindow* parent)
|
wxeditor_conflict::wxeditor_conflict(wxWindow* parent)
|
||||||
: wxDialog(parent, wxID_ANY, wxT("lsnes: Edit conflicts"))
|
: wxDialog(parent, wxID_ANY, wxT("lsnes: Edit conflicts"), wxDefaultPosition, wxSize(-1, -1))
|
||||||
{
|
{
|
||||||
Centre();
|
Centre();
|
||||||
wxFlexGridSizer* top_s = new wxFlexGridSizer(2, 1, 0, 0);
|
wxFlexGridSizer* top_s = new wxFlexGridSizer(2, 1, 0, 0);
|
||||||
|
@ -106,7 +106,7 @@ void wxeditor_conflict::add_option(wxWindow* win, wxSizer* sizer, const std::str
|
||||||
if(core_selections.count(key) && !dfltidx) {
|
if(core_selections.count(key) && !dfltidx) {
|
||||||
bad_defaults.insert(key);
|
bad_defaults.insert(key);
|
||||||
dfltidx = v.size();
|
dfltidx = v.size();
|
||||||
v.push_back("bad default [" + core_selections[key] + "]");
|
v.push_back(towxstring("bad default [" + core_selections[key] + "]"));
|
||||||
}
|
}
|
||||||
|
|
||||||
sizer->Add(choices[key] = new wxComboBox(win, wxID_ANY, v[dfltidx], wxDefaultPosition, wxDefaultSize,
|
sizer->Add(choices[key] = new wxComboBox(win, wxID_ANY, v[dfltidx], wxDefaultPosition, wxDefaultSize,
|
||||||
|
|
Loading…
Add table
Reference in a new issue