diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-09-14 13:21:34 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-09-14 13:21:34 -0400 |
| commit | b307bb68d7bcccdcbdeae50012b04c747753d69e (patch) | |
| tree | ae141da31127c72cb126b0c9b9b90893bd7ac287 /Source/Core/InputCommon/ControllerInterface | |
| parent | 4e7f284a8114f2a92790cf3267b35253f0a600a0 (diff) | |
| parent | 357c0adc3c89d4eff44e30419ee09914b136df97 (diff) | |
Merge pull request #1080 from lioncash/wx-crap
Kill off the wx casts within InputCommon and GLInterface.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm index 7ff67c0e7f..1294346e1b 100644 --- a/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm +++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm @@ -7,7 +7,6 @@ #include <Foundation/Foundation.h> #include <IOKit/hid/IOHIDLib.h> #include <Cocoa/Cocoa.h> -#include <wx/wx.h> // wxWidgets #include "InputCommon/ControllerInterface/OSX/OSXKeyboard.h" @@ -45,7 +44,7 @@ Keyboard::Keyboard(IOHIDDeviceRef device, std::string name, int index, void *win CFRelease(elements); } - m_windowid = [[(NSView *)(((wxWindow *)window)->GetHandle()) window] windowNumber]; + m_windowid = [[reinterpret_cast<NSView*>(window) window] windowNumber]; // cursor, with a hax for-loop for (unsigned int i=0; i<4; ++i) |
