32 lines
916 B
Text
32 lines
916 B
Text
$NetBSD: patch-aq,v 1.1 2004/02/18 23:09:03 kristerw Exp $
|
|
|
|
--- XVision/Menu.cc.orig Wed Feb 18 23:18:47 2004
|
|
+++ XVision/Menu.cc Wed Feb 18 23:20:32 2004
|
|
@@ -1,7 +1,7 @@
|
|
#include "Menu.hh"
|
|
|
|
-Submenu::Submenu(const char * _text, Group * _submenu=0,
|
|
- TextDirection _direction=tdNorth, FontShape _fontshape=fsOblique)
|
|
+Submenu::Submenu(const char * _text, Group * _submenu,
|
|
+ TextDirection _direction, FontShape _fontshape)
|
|
: Label(_text, cmInvalid, TRUE, _direction, _fontshape), submenu(_submenu)
|
|
{
|
|
if (submenu)
|
|
@@ -23,7 +23,7 @@
|
|
}
|
|
}
|
|
|
|
-Menu::Menu(const Align _align=VAVertical)
|
|
+Menu::Menu(const Align _align)
|
|
: Group(_align), upmenu(0)
|
|
{
|
|
AutoCenter = TRUE;
|
|
@@ -76,7 +76,7 @@
|
|
}
|
|
|
|
MenuItem::MenuItem(const char * _text, const CommandType _cc2 /* = cmInvalid */,
|
|
- FontShape _fontshape = fsOblique)
|
|
+ FontShape _fontshape)
|
|
: Label(_text, _cc2, TRUE, tdNorth, _fontshape)
|
|
{
|
|
}
|