HitTest in wxTreeListCtrl does return wxTREE_HITTEST_ONITEMICON, wxTREE_HITTEST_ONITEMLABEL or wxTREE_HITTEST_ONITEMRIGHT in flags variable only for the main column. When the user clicked on the item or image in other columns the flags are missing.
Main cause is the usage of m_text_x to check the x position. But m_text_x contains only the text position for the main column. So in all other columns the above mentioned flags are never returned.