From: Vadim Zeitlin Date: Tue, 23 Oct 2007 16:11:12 +0000 (+0000) Subject: implement wxSYS_DCLICK_MSEC support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9cd808434c01b4e2e5ac9f0c0844eac3af672c98 implement wxSYS_DCLICK_MSEC support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index 81cbcc4b94..c5593decfb 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -233,6 +233,9 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(w // TODO: case wxSYS_NETWORK_PRESENT: // TODO: case wxSYS_SHOW_SOUNDS: + case wxSYS_DCLICK_MSEC: + return (int)(GetDblTime() * 1000. / 60.); + default: // unsupported metric break;