git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59034
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( pos.x >= 0 && pos.y > m_rowOffset + m_heightRow && pos.y <= m_rowOffset + m_heightRow * 7 )
{
if ( date )
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;
}
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;
// header: week days
int wday = (pos.x - x0) / m_widthCol;