pkgsrc/games/wormz/patches/patch-ap

31 lines
878 B
Text

$NetBSD: patch-ap,v 1.1 2004/02/18 23:09:03 kristerw Exp $
--- XVision/Group.cc.orig Wed Feb 18 23:15:27 2004
+++ XVision/Group.cc Wed Feb 18 23:17:37 2004
@@ -5,7 +5,7 @@
#define GroupBackground RGB(0, 0x22, 0x95)
//#define GroupBackground RGB(0x20, 0x20, 0x20)
-Group::Group(const Align _align=VAVertical)
+Group::Group(const Align _align)
: first(0), last(0), current(0), ChildAlign(_align)
{
SetColor(GroupBackground, ciBackground);
@@ -109,7 +109,7 @@
}
}
-void Group::ReArrange(bool CallParent=TRUE, View * except=0)
+void Group::ReArrange(bool CallParent, View * except)
{
if (!app_global->CanReArrange)
return;
@@ -282,7 +282,7 @@
View::PutEvent(event);
}
-void Group::SetHidden(bool _hidden, bool rearrange=TRUE)
+void Group::SetHidden(bool _hidden, bool rearrange)
{
if ((!_hidden) && (rearrange))
app_global->StopRedraw();