From f4abbdf6b154c8f6cab2a4ac8be04a5e39bead55 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sun, 6 Jun 2010 21:06:58 +0000 Subject: 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 --- Source/Core/InputCommon/Src/WXInputBase.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Core/InputCommon') 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 +#endif namespace InputCommon { +#if defined(HAVE_WX) && HAVE_WX const wxString WXKeyToString(int keycode); const wxString WXKeymodToString(int modifier); +#endif } #endif + -- cgit v1.2.3