diff --git a/common/dialogs/wx_html_report_box.cpp b/common/dialogs/wx_html_report_box.cpp
index 93a9391b24..81784bc739 100644
--- a/common/dialogs/wx_html_report_box.cpp
+++ b/common/dialogs/wx_html_report_box.cpp
@@ -26,7 +26,8 @@
WX_HTML_REPORT_BOX::WX_HTML_REPORT_BOX( wxWindow* parent, wxWindowID id, const wxPoint& pos,
const wxSize& size, long style ) :
wxHtmlWindow( parent, id, pos, size, style ),
- m_units( EDA_UNITS::MILLIMETRES )
+ m_units( EDA_UNITS::MILLIMETRES ),
+ m_immediateMode( false )
{
}