}
if ( pos.x - x0 < 0 )
+ {
if ( pos.x >= 0 && pos.y > m_rowOffset + m_heightRow && pos.y <= m_rowOffset + m_heightRow * 7 )
{
if ( date )
}
else // early exit -> the rest of the function checks for clicks on days
return wxCAL_HITTEST_NOWHERE;
+ }
// header: week days
int wday = (pos.x - x0) / m_widthCol;