- fixed a bug on GameList's MenuPopups (Windows Seven/Vista platforms, issue 4403)

- fixed a problem/crash which occurs with some gcc versions (in general on Linux systems, issue 4400)
- other minor GUI changes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7472 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
gnick79
2011-04-18 16:30:46 +00:00
parent 58e1d90a3e
commit 24b0ef52a0
5 changed files with 16 additions and 23 deletions

View File

@ -76,7 +76,6 @@ BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
EVT_MENU(IDM_EXTRACTAPPLOADER, CISOProperties::OnExtractDataFromHeader)
EVT_MENU(IDM_EXTRACTDOL, CISOProperties::OnExtractDataFromHeader)
EVT_CHOICE(ID_LANG, CISOProperties::OnChangeBannerLang)
EVT_CHECKBOX(ID_PHACKENABLE, CISOProperties::OnCheckBoxClicked)
END_EVENT_TABLE()
CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& position, const wxSize& size, long style)
@ -566,16 +565,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
SetFocus();
}
void CISOProperties::OnCheckBoxClicked(wxCommandEvent& event)
{
bool choice = (event.GetInt() != 0);
if (event.GetId() == ID_PHACKENABLE)
{
PHSettings->Enable(choice);
}
}
void CISOProperties::OnClose(wxCloseEvent& WXUNUSED (event))
{
if (!SaveGameConfig())
@ -907,7 +896,6 @@ void CISOProperties::LoadGameConfig()
GameIni.Get("Video", "ProjectionHack", &bTemp);
PHackEnable->Set3StateValue((wxCheckBoxState)bTemp);
PHSettings->Enable(bTemp);
GameIni.Get("Video", "PH_SZNear", &PHack_Data.PHackSZNear);
GameIni.Get("Video", "PH_SZFar", &PHack_Data.PHackSZFar);