mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +00:00
Clean out some #ifdef'ed out junk.
[originally from svn r2985]
This commit is contained in:
parent
c20818608e
commit
093c88d28a
@ -1,4 +1,4 @@
|
|||||||
/* $Id: macctrls.c,v 1.11 2003/03/24 22:41:38 ben Exp $ */
|
/* $Id: macctrls.c,v 1.12 2003/03/24 22:46:11 ben Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2003 Ben Harris
|
* Copyright (c) 2003 Ben Harris
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -594,25 +594,14 @@ void macctrl_activate(WindowPtr window, EventRecord *event)
|
|||||||
int i, j;
|
int i, j;
|
||||||
ControlPartCode state;
|
ControlPartCode state;
|
||||||
union macctrl *mc;
|
union macctrl *mc;
|
||||||
#if 0
|
|
||||||
ControlRef root;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GetPort(&saveport);
|
GetPort(&saveport);
|
||||||
SetPort((GrafPtr)GetWindowPort(window));
|
SetPort((GrafPtr)GetWindowPort(window));
|
||||||
if (mac_gestalts.apprvers >= 0x100) {
|
if (mac_gestalts.apprvers >= 0x100)
|
||||||
SetThemeWindowBackground(window, active ?
|
SetThemeWindowBackground(window, active ?
|
||||||
kThemeBrushModelessDialogBackgroundActive :
|
kThemeBrushModelessDialogBackgroundActive :
|
||||||
kThemeBrushModelessDialogBackgroundInactive,
|
kThemeBrushModelessDialogBackgroundInactive,
|
||||||
TRUE);
|
TRUE);
|
||||||
#if 0
|
|
||||||
GetRootControl(window, &root);
|
|
||||||
if (active)
|
|
||||||
ActivateControl(root);
|
|
||||||
else
|
|
||||||
DeactivateControl(root);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
state = active ? kControlNoPart : kControlInactivePart;
|
state = active ? kControlNoPart : kControlInactivePart;
|
||||||
for (i = 0; i <= mcs->curpanel; i += mcs->curpanel)
|
for (i = 0; i <= mcs->curpanel; i += mcs->curpanel)
|
||||||
for (mc = mcs->panels[i]; mc != NULL; mc = mc->generic.next)
|
for (mc = mcs->panels[i]; mc != NULL; mc = mc->generic.next)
|
||||||
|
Loading…
Reference in New Issue
Block a user