]> git.saurik.com Git - wxWidgets.git/commitdiff
implement wxSYS_DCLICK_MSEC support
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2007 16:11:12 +0000 (16:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2007 16:11:12 +0000 (16:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/settings.cpp

index 81cbcc4b94f8d28258b3e81c5266e42b1e1e8c15..c5593decfb690ca5178bd01391809f27cfcd15f8 100644 (file)
@@ -233,6 +233,9 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(w
         // TODO: case wxSYS_NETWORK_PRESENT:
         // TODO: case wxSYS_SHOW_SOUNDS:
 
         // TODO: case wxSYS_NETWORK_PRESENT:
         // TODO: case wxSYS_SHOW_SOUNDS:
 
+        case wxSYS_DCLICK_MSEC:
+            return (int)(GetDblTime() * 1000. / 60.);
+
         default:
             // unsupported metric
             break;
         default:
             // unsupported metric
             break;