From 39cbd73e02532159dfcde8155848a78ac9e3c061 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Tue, 31 May 2011 19:58:15 +0000 Subject: [PATCH] Fix build on openSUSE 11.4 (not sure why it worked fine everywhere else anyway). Fixes issue 4537. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7573 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/PHackSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/PHackSettings.cpp b/Source/Core/DolphinWX/Src/PHackSettings.cpp index 92dc4e0470..83f08d9cb7 100644 --- a/Source/Core/DolphinWX/Src/PHackSettings.cpp +++ b/Source/Core/DolphinWX/Src/PHackSettings.cpp @@ -45,7 +45,7 @@ CPHackSettings::~CPHackSettings() void CPHackSettings::CreateGUIControls() { wxStaticText *PHackChoiceText = new wxStaticText(this, wxID_ANY, _("Presets: ")); - PHackChoice = new wxChoice(this, ID_PHACK_CHOICE, wxDefaultPosition, wxDefaultSize, wxArrayString(0, wxString("", *wxConvCurrent))); + PHackChoice = new wxChoice(this, ID_PHACK_CHOICE); PHackChoice->SetToolTip(_("Load preset values from hack patterns available.")); wxStaticText *PHackZNearText = new wxStaticText(this, wxID_ANY, _("zNear Correction: ")); PHackZNear = new wxTextCtrl(this, ID_PHACK_ZNEAR);