From 58f998cb55504f91d82282e4241419d0f7d41ada Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 20 Nov 2008 14:17:12 +0000 Subject: [PATCH] make config box open on linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1226 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote_Test/Src/main.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 +// ================