]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/settings.cpp
PCH-less build fix
[wxWidgets.git] / src / gtk / settings.cpp
index 1a6714349d638829f43fe06996664d07d26f4760..45fd8ac9d798698b44591f14b9f663a0f4be2bef 100644 (file)
@@ -494,6 +494,12 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win )
 
             return dclick_distance * 2;
 
+        case wxSYS_DCLICK_MSEC:
+            gint dclick;
+            g_object_get(gtk_settings_get_default(),
+                            "gtk-double-click-time", &dclick, NULL);
+            return dclick;
+
         case wxSYS_DRAG_X:
         case wxSYS_DRAG_Y:
             gint drag_threshold;