// ============================================================================
// implementation of wxOwnerDrawn class
// ============================================================================
// implementation of wxOwnerDrawn class
m_nHeight = *pHeight; // remember height for use in OnDrawItem
return true;
} // end of wxOwnerDrawn::OnMeasureItem
m_nHeight = *pHeight; // remember height for use in OnDrawItem
return true;
} // end of wxOwnerDrawn::OnMeasureItem
// Draw the main item text sans the accel text
//
POINTL vPntStart = {nX, rRect.y + 4};
// Draw the main item text sans the accel text
//
POINTL vPntStart = {nX, rRect.y + 4};
);
//
// Back off the starting position from the right edge
//
vPntStart.x = rRect.width - (nWidth + 7);
vPntStart.y = rRect.y + 4;
);
//
// Back off the starting position from the right edge
//
vPntStart.x = rRect.width - (nWidth + 7);
vPntStart.y = rRect.y + 4;