From 7d3fe592aba009be6ca6da981fed9d0dd64c8c70 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Wed, 26 May 2010 21:07:52 +0000 Subject: [PATCH] Unbreak nowx build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5499 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp index c7cb786a93..e365123bfe 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp @@ -181,13 +181,13 @@ void TiltByGamepad(STiltData &_TiltData, int Type) // Tilting by keyboard void TiltByKeyboard(STiltData &_TiltData, int Type) { +#if defined(HAVE_WX) && HAVE_WX int _ROLL_LEFT_ = (Type) ? ENC_ROLL_L : EWM_ROLL_L; int _ROLL_RIGHT_ = (Type) ? ENC_ROLL_R : EWM_ROLL_R; int _PITCH_UP_ = (Type) ? ENC_PITCH_U : EWM_PITCH_U; int _PITCH_DOWN_ = (Type) ? ENC_PITCH_D : EWM_PITCH_D; // Do roll/pitch or free swing -#if defined(HAVE_WX) && HAVE_WX if (IsKey(_ROLL_LEFT_)) {