// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
#ifdef O_DRAW_NATIVE_API
int nPrevMode = SetBkMode(hdc, TRANSPARENT);
HBRUSH hbr = CreateSolidBrush(colBack),
#ifdef O_DRAW_NATIVE_API
int nPrevMode = SetBkMode(hdc, TRANSPARENT);
HBRUSH hbr = CreateSolidBrush(colBack),
RECT rectAll = { rc.GetLeft(), rc.GetTop(), rc.GetRight(), rc.GetBottom() };
FillRect(hdc, &rectAll, hbr);
RECT rectAll = { rc.GetLeft(), rc.GetTop(), rc.GetRight(), rc.GetBottom() };
FillRect(hdc, &rectAll, hbr);
DrawState(hdc, NULL, NULL,
(LPARAM)(const char *)m_strName, m_strName.Length(),
x, rc.y, rc.GetWidth(), rc.GetHeight(),
DrawState(hdc, NULL, NULL,
(LPARAM)(const char *)m_strName, m_strName.Length(),
x, rc.y, rc.GetWidth(), rc.GetHeight(),