diff --git a/Source/Plugins/Plugin_Wiimote_Test/Src/main.cpp b/Source/Plugins/Plugin_Wiimote_Test/Src/main.cpp index ef06ec7483..0bdf20ab88 100644 --- a/Source/Plugins/Plugin_Wiimote_Test/Src/main.cpp +++ b/Source/Plugins/Plugin_Wiimote_Test/Src/main.cpp @@ -111,16 +111,14 @@ extern "C" void DllAbout(HWND _hParent) extern "C" void DllConfig(HWND _hParent) { -#if defined(_WIN32) wxWindow win; +#ifdef _WIN32 win.SetHWND(_hParent); +#endif ConfigDialog frame(&win); frame.ShowModal(); +#ifdef _WIN32 win.SetHWND(0); -#elif defined(__linux__) - //TODO -#else - //TODO #endif } @@ -249,4 +247,4 @@ void __Logv(int log, int v, const char *_fmt, ...) g_WiimoteInitialize.pLog(Msg, v); } -// ================ \ No newline at end of file +// ================