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:
@@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user