Pt_ARG_FILL_COLOR on PtMenu

The Pt_ARG_FILL_COLOR option on PtMenu’s still doesn’t work as of the
lastest release of Photon
It worked fine under Photon 1.14

Here is the test program I have been using:
/* ----------------------------------------------------- /
/

  • compile with cc -o menu menu.c -lphoton_s
    */

#include <stdio.h>
#include <Pt.h>

static PtWidget_t *menu, *mb;

static int cbPress (PtWidget_t *b, void *data, PtCallbackInfo_t *info)
{
PtArg_t args[10];
int i;

printf (“Pressed\n”);

PtSetParentWidget (NULL);

i=0;
menu = PtCreateWidget (PtMenu, NULL, i, args);

i=0;
PtSetArg (&args[i++], Pt_ARG_TEXT_STRING, “Menu button”, 0);
PtSetArg (&args[i++], Pt_ARG_FILL_COLOR, 0xff0000, 0);
file://PtSetArg (&args[i++], Pt_ARG_COLOR, 0xff0000, 0);
mb = PtCreateWidget (PtMenuButton, NULL, i, args);

PtRealizeWidget (menu);

return (Pt_CONTINUE);
}

int main ()
{
PtWidget_t *w, *b;
PhDim_t dim;
PtArg_t args[10];
int i;

dim.w = 300;
dim.h = 200;

PtInit (NULL);
i = 0;
PtSetArg (&args[i++], Pt_ARG_DIM, &dim, 0);
w = PtCreateWidget (PtWindow, NULL, i, args);

i = 0;
PtSetArg (&args[i++], Pt_ARG_TEXT_STRING, “Press Me”, 0);
b = PtCreateWidget (PtButton, w, i, args);

PtAddCallback (b, Pt_CB_ACTIVATE, cbPress, NULL);

PtRealizeWidget (w);
PtMainLoop();
return (0);
}