Removed debug menus if not a debug build

This commit is contained in:
jevering%netscape.com 1998-10-30 19:03:38 +00:00
parent 3b4cf1a216
commit b747c5f407

View File

@ -61,6 +61,7 @@ VIEWER MENU DISCARDABLE
MENUITEM SEPARATOR
MENUITEM "P&refs", VIEWER_PREFS
END
#if defined(_DEBUG)
POPUP "&Debug"
{
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
@ -90,6 +91,7 @@ VIEWER MENU DISCARDABLE
MENUITEM "Standard", VIEWER_STANDARD_MODE
}
}
#endif
POPUP "&Tools"
{
MENUITEM "&JavaScript Console", JS_CONSOLE
@ -107,6 +109,7 @@ PRINTPREVIEW MENU DISCARDABLE
{
MENUITEM "&Close", PREVIEW_CLOSE
}
#if defined(_DEBUG)
POPUP "&Debug"
{
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
@ -118,6 +121,7 @@ PRINTPREVIEW MENU DISCARDABLE
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
}
#endif
}
JSCONSOLE_MENU MENU DISCARDABLE