Esempio n. 1
0
void WX_HTML_REPORT_PANEL::onCheckBoxShowAll( wxCommandEvent& event )
{
    if ( event.IsChecked() )
         m_showAll = true;
     else
         m_showAll = false;

    syncCheckboxes();
    refreshView();
}
Esempio n. 2
0
void WX_HTML_REPORT_PANEL::SetVisibleSeverities( int aSeverities )
{
    if( aSeverities < 0 )
        m_showAll = true;
    else
    {
        m_showAll = false;
        m_severities = aSeverities;
    }

    syncCheckboxes();
}
WX_HTML_REPORT_PANEL::WX_HTML_REPORT_PANEL( wxWindow*      parent,
        wxWindowID     id,
        const wxPoint& pos,
        const wxSize&  size,
        long           style ) :
    WX_HTML_REPORT_PANEL_BASE( parent, id, pos, size, style ),
    m_reporter( this ),
    m_severities( -1 ),
    m_showAll( true )
{
    syncCheckboxes();
    m_htmlView->SetPage( addHeader( "" ) );
}