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
This commit is contained in:
Vadim Zeitlin
2008-02-15 14:35:11 +00:00
parent 40e01f4bfa
commit fcc7fdb689
2 changed files with 0 additions and 8 deletions

View File

@@ -377,11 +377,7 @@ static const int gs_metricsMap[] =
#else #else
-1, -1,
#endif #endif
#ifdef SM_SWAPBUTTON
SM_SWAPBUTTON, SM_SWAPBUTTON,
#else
-1,
#endif
-1 // wxSYS_DCLICK_MSEC - not available as system metric -1 // wxSYS_DCLICK_MSEC - not available as system metric
}; };

View File

@@ -6101,10 +6101,6 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual)
return vk; return vk;
} }
#ifndef SM_SWAPBUTTON
#define SM_SWAPBUTTON 23
#endif
// small helper for wxGetKeyState() and wxGetMouseState() // small helper for wxGetKeyState() and wxGetMouseState()
static inline bool wxIsKeyDown(WXWORD vk) static inline bool wxIsKeyDown(WXWORD vk)
{ {