This commit is contained in:
ehouse 2004-05-06 04:10:48 +00:00
parent 372cb73a49
commit 2ab5de6ea7

View file

@ -281,14 +281,10 @@ getSizes( PalmAppGlobals* globals )
static void
locateTrayButtons( PalmAppGlobals* globals, XP_U16 trayTop, XP_U16 trayHt )
{
if ( FrmGetActiveForm() != NULL ) {
RectangleType rect;
XP_Bool buttonsAtTop, trayAtTop;
XP_S16 diff;
if ( FrmGetActiveForm() == NULL ) {
return XP_FALSE;
}
getObjectBounds( XW_MAIN_HIDE_BUTTON_ID, &rect );
diff = trayTop - rect.topLeft.y;
@ -307,6 +303,7 @@ locateTrayButtons( PalmAppGlobals* globals, XP_U16 trayTop, XP_U16 trayHt )
setObjectBounds( ids[i], &rect );
}
}
}
} /* locateTrayButtons */
#else
# define locateTrayButtons(g,t,h)