GCPad/WiimoteNew: Hopefully fixed a problem where devices with extended ascii characters in their names didn't work.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5718 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-06-16 02:57:50 +00:00
parent b0dff28539
commit cefc0b2c6f
5 changed files with 35 additions and 41 deletions

View File

@ -118,10 +118,12 @@ private:
ControlChooser* const m_control_chooser;
};
class GamepadPage;
class ControlDialog : public wxDialog
{
public:
ControlDialog( wxWindow* const parent, InputPlugin& plugin, ControllerInterface::ControlReference* const ref, const std::vector<ControllerInterface::Device*>& devs );
ControlDialog(GamepadPage* const parent, InputPlugin& plugin, ControllerInterface::ControlReference* const ref);
void SelectControl( wxCommandEvent& event );
void DetectControl( wxCommandEvent& event );
@ -223,7 +225,7 @@ class InputConfigDialog : public wxDialog
{
public:
InputConfigDialog( wxWindow* const parent, InputPlugin& plugin, const std::string& name, const bool _is_game_running );
InputConfigDialog(wxWindow* const parent, InputPlugin& plugin, const std::string& name);
bool Destroy();
void ClickSave( wxCommandEvent& event );
@ -234,8 +236,6 @@ public:
void UpdateControlReferences();
void UpdateBitmaps(wxTimerEvent&);
const bool is_game_running;
private:
wxNotebook* m_pad_notebook;