]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
avoiding warning because of missing define
[wxWidgets.git] / src / msw / settings.cpp
index 280c8dd87c0ce9647c1df580229ff7654b4fd735..476873b4af9ef8cf45a4ece9d83a85041c7198a3 100644 (file)
@@ -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
 };