First batch to have wx stuff compiling

This is mostyle missing includes, includes with the wrong
case and wrong path, also there is that PanicAlert 
function that is not defined.
This commit is contained in:
riccardom 2010-02-03 14:19:10 +00:00
parent 4433cec8fc
commit 144d049898
11 changed files with 14 additions and 7 deletions

View File

@ -18,6 +18,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
#include <string>
#include <vector>

View File

@ -1,6 +1,6 @@
#ifndef EVENTHANDER_H
#define EVENTHANDER_H 1
#include "Common.h"
#include "common.h"
#include <queue>
#include "Event.hpp"

View File

@ -67,7 +67,7 @@ bool SearchDevices(std::vector<CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_
if (SDL_Init(SDL_INIT_JOYSTICK) < 0)
#endif
{
PanicAlert("Could not initialize SDL: %s", SDL_GetError());
//PanicAlert("Could not initialize SDL: %s", SDL_GetError());
return false;
}

View File

@ -52,7 +52,7 @@
#endif
#endif
#include "Common.h" // Common
#include "common.h" // Common

View File

@ -20,7 +20,9 @@
#include <X11/X.h>
#include <X11/keysym.h>
#include "Config.h"
#if 0
#include "config.h"
#endif
#if defined(HAVE_WX) && HAVE_WX
#include <wx/wx.h>
#endif

View File

@ -30,7 +30,7 @@
#include <wx/gbsizer.h>
#if defined(HAVE_X11) && HAVE_X11
#include "X11InputBase.h"
#include "InputCommon/X11InputBase.h"
#endif
class PADConfigDialogSimple : public wxDialog

View File

@ -21,7 +21,7 @@
#include <stdio.h>
#include <math.h>
#include "Common.h"
#include "common.h"
//#include "LogManager.h"
#include "pluginspecs_pad.h"
#include "PadSimple.h"

View File

@ -19,6 +19,7 @@
#define __PADSIMPLE_H__
//#include "Setup.h" // Common
#include "types.h"
// Constants for full-press sticks and triggers
const int BUTTON_FULL = 255;

View File

@ -5,6 +5,8 @@
#ifndef _PAD_H_INCLUDED__
#define _PAD_H_INCLUDED__
#include <wx/isql.h>
#include "types.h"
//#include "PluginSpecs.h"
//#include "ExportProlog.h"

View File

@ -17,6 +17,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "StringUtil.h"

View File

@ -23,7 +23,7 @@
#include <vector>
#include <string>
#include "Common.h"
#include "common.h"
std::string StringFromFormat(const char* format, ...);
void ToStringFromFormat(std::string* out, const char* format, ...);