Linux build fix. Also take care of a few compiler warnings that have developed.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7578 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-06-02 23:28:47 +00:00
parent 837375a13d
commit bad9fd1f1d
5 changed files with 19 additions and 17 deletions

View File

@ -20,9 +20,6 @@
#include <wx/spinctrl.h>
#include "MsgHandler.h"
#include "Frame.h"
extern CFrame* main_frame;
template <typename W>
class BoolSetting : public W
@ -109,15 +106,7 @@ protected:
}
void Event_Adapter(wxCommandEvent &ev) { ev.Skip(); } // TODO
void Event_DisplayResolution(wxCommandEvent &ev)
{
SConfig::GetInstance().m_LocalCoreStartupParameter.strFullscreenResolution =
choice_display_resolution->GetStringSelection().mb_str();
#if defined(HAVE_XRANDR) && HAVE_XRANDR
main_frame->m_XRRConfig->Update();
#endif
ev.Skip();
}
void Event_DisplayResolution(wxCommandEvent &ev);
void Event_ProgressiveScan(wxCommandEvent &ev)
{