From fcc7fdb689eadbbc0e03e1c41069390a7e60c98e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 15 Feb 2008 14:35:11 +0000 Subject: [PATCH] don't clutter the code with (apparently) unnecessary SM_SWAPBUTTON checks (patch 1892656) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/settings.cpp | 4 ---- src/msw/window.cpp | 4 ---- 2 files changed, 8 deletions(-) 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) { -- 2.45.2