Initialize data members in initialization lists
This commit is contained in:
@@ -188,27 +188,26 @@ void wxPropertyGridIteratorBase::Next( bool iterateChildren )
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
wxPropertyGridPageState::wxPropertyGridPageState()
|
||||
: m_pPropGrid(NULL)
|
||||
, m_properties(&m_regularArray)
|
||||
, m_abcArray(NULL)
|
||||
, m_currentCategory(NULL)
|
||||
, m_width(0)
|
||||
, m_virtualHeight(0)
|
||||
, m_itemsAdded(false)
|
||||
, m_anyModified(false)
|
||||
, m_vhCalcPending(false)
|
||||
, m_fSplitterX(wxPG_DEFAULT_SPLITTERX)
|
||||
, m_isSplitterPreSet(false)
|
||||
, m_dontCenterSplitter(false)
|
||||
{
|
||||
m_pPropGrid = NULL;
|
||||
m_regularArray.SetParentState(this);
|
||||
m_properties = &m_regularArray;
|
||||
m_abcArray = NULL;
|
||||
m_currentCategory = NULL;
|
||||
m_width = 0;
|
||||
m_virtualHeight = 0;
|
||||
m_itemsAdded = false;
|
||||
m_anyModified = false;
|
||||
m_vhCalcPending = false;
|
||||
m_colWidths.push_back( wxPG_DEFAULT_SPLITTERX );
|
||||
m_colWidths.push_back( wxPG_DEFAULT_SPLITTERX );
|
||||
m_fSplitterX = wxPG_DEFAULT_SPLITTERX;
|
||||
|
||||
m_columnProportions.push_back(1);
|
||||
m_columnProportions.push_back(1);
|
||||
|
||||
m_isSplitterPreSet = false;
|
||||
m_dontCenterSplitter = false;
|
||||
|
||||
// By default, we only have the 'value' column editable
|
||||
m_editableColumns.push_back(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user