summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
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
+