mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00: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:
parent
06e79364b0
commit
188e3b9172
7 changed files with 85 additions and 35 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue