diff --git a/widget/src/os2/nsLookAndFeel.cpp b/widget/src/os2/nsLookAndFeel.cpp index 8011712d22695a432c1b57cf3039dbeef233cb39..b4e7d6b2949beb746f22e0582f1c0fa2791908a9 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;