m_DigitMargin(-1),
m_LineLength(-1),
m_LineWidth(-1),
- m_DrawFaded(FALSE),
+ m_DrawFaded(false),
m_LeftStartPos(-1)
{
}
m_DigitMargin(-1),
m_LineLength(-1),
m_LineWidth(-1),
- m_DrawFaded(FALSE),
+ m_DrawFaded(false),
m_LeftStartPos(-1)
{
Create(parent, id, pos, size, style);
bool RetVal = wxControl::Create(parent, id, pos, size, style);
if ((style & wxLED_DRAW_FADED) != 0)
- SetDrawFaded(TRUE);
+ SetDrawFaded(true);
if ((style & wxLED_ALIGN_MASK) != 0)
SetAlignment((wxLEDValueAlign)(style & wxLED_ALIGN_MASK));
RecalcInternals(GetClientSize());
if (Redraw)
- Refresh(FALSE);
+ Refresh(false);
}
}
m_DrawFaded = DrawFaded;
if (Redraw)
- Refresh(FALSE);
+ Refresh(false);
}
}
RecalcInternals(GetClientSize());
if (Redraw)
- Refresh(FALSE);
+ Refresh(false);
}
}
{
Dc.DrawLine(XPos + m_LineMargin*2, m_LineMargin,
XPos + m_LineLength, m_LineMargin);
- }
+ }
if (Digit & LINE2)
{