From d79ad9fc9243bcfd5e1e82843ed270c3bffc4864 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" <mkaply%us.ibm.com> Date: Thu, 22 Jun 2000 13:59:05 +0000 Subject: [PATCH] #42637 r=mkaply, a=brendan OS/2 bring up - Make submenus appear --- widget/src/os2/nsLookAndFeel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/widget/src/os2/nsLookAndFeel.cpp b/widget/src/os2/nsLookAndFeel.cpp index 8011712d22695..b4e7d6b2949be 100644 --- a/widget/src/os2/nsLookAndFeel.cpp +++ b/widget/src/os2/nsLookAndFeel.cpp @@ -23,7 +23,8 @@ * Modifications to Mozilla code or documentation identified per MPL Section 3.3 * * Date Modified by Description of modification - * 04/20/2000 IBM Corp. Make more like Windows. + * 04/20/2000 IBM Corp. Make more like Windows. + * 06/21/2000 IBM Corp. Add SubmenuDelay case in GetMetric */ #include "nsLookAndFeel.h" @@ -269,6 +270,9 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric) case eMetric_ListVerticalInsidePadding: aMetric = 0; break; + case eMetric_SubmenuDelay: + aMetric = 300; + break; case eMetric_CaretBlinkTime: svalue = SV_CURSORRATE; break; -- GitLab