diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 7601841a0c..280c8dd87c 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -377,11 +377,7 @@ static const int gs_metricsMap[] = #else -1, #endif -#ifdef SM_SWAPBUTTON SM_SWAPBUTTON, -#else - -1, -#endif -1 // wxSYS_DCLICK_MSEC - not available as system metric }; diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 06e820fe43..35e6934ecb 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -6101,10 +6101,6 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual) return vk; } -#ifndef SM_SWAPBUTTON - #define SM_SWAPBUTTON 23 -#endif - // small helper for wxGetKeyState() and wxGetMouseState() static inline bool wxIsKeyDown(WXWORD vk) {