X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcc7fdb689eadbbc0e03e1c41069390a7e60c98e..75c6febf442f1a70eef68731fa96f666b500c6cb:/src/msw/settings.cpp diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 280c8dd87c..476873b4af 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -377,7 +377,13 @@ static const int gs_metricsMap[] = #else -1, #endif + // SM_SWAPBUTTON is not available under CE and it doesn't make sense to ask + // for it there +#ifdef SM_SWAPBUTTON SM_SWAPBUTTON, +#else + -1, +#endif -1 // wxSYS_DCLICK_MSEC - not available as system metric };