mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Trying to get gui to compile with wx 2.9
Shouldn't affect normal compile. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4362 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -803,7 +803,7 @@ void CFrame::OnLoadStateFromFile(wxCommandEvent& WXUNUSED (event))
|
||||
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST,
|
||||
this);
|
||||
|
||||
if(path)
|
||||
if(!path.IsEmpty())
|
||||
State_LoadAs((const char*)path.mb_str());
|
||||
}
|
||||
|
||||
@ -821,7 +821,7 @@ void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
|
||||
wxFD_SAVE,
|
||||
this);
|
||||
|
||||
if(path)
|
||||
if(! path.IsEmpty())
|
||||
State_SaveAs((const char*)path.mb_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user