Display* dpy = XtDisplay(wParent);
- if (m_backgroundColour.Ok())
+ if (m_backgroundColour.IsOk())
{
- wxComputeColours (dpy, & m_backgroundColour, (wxColour*) NULL);
+ wxComputeColours (dpy, & m_backgroundColour, NULL);
XtSetArg(args[ac], XmNbackground, g_itemColors[wxBACK_INDEX].pixel); ac++;
XtSetArg(args[ac], XmNtopShadowColor, g_itemColors[wxTOPS_INDEX].pixel); ac++;