summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-06-06 21:06:58 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-06-06 21:06:58 +0000
commitf4abbdf6b154c8f6cab2a4ac8be04a5e39bead55 (patch)
tree7519e1765985c7e68363064bad6467027bf4369b /Source/Core/InputCommon
parentb20c04aa4553cc04bdc7bec8c2ed97e581c5fc29 (diff)
Fix nowx build.
We really should integrate the nowx functionality into the main build, removing nowx and HAVE_WX checks and turning USE_WX into a variable that defaults to GUI use but can be overridden at the command line. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5630 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/Src/WXInputBase.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/WXInputBase.h b/Source/Core/InputCommon/Src/WXInputBase.h
index f69e9a3c17..da0743db47 100644
--- a/Source/Core/InputCommon/Src/WXInputBase.h
+++ b/Source/Core/InputCommon/Src/WXInputBase.h
@@ -18,11 +18,17 @@
#ifndef WXINPUTBASE_H
#define WXINPUTBASE_H
+#include "Common.h"
+#if defined(HAVE_WX) && HAVE_WX
#include <wx/wx.h>
+#endif
namespace InputCommon
{
+#if defined(HAVE_WX) && HAVE_WX
const wxString WXKeyToString(int keycode);
const wxString WXKeymodToString(int modifier);
+#endif
}
#endif
+