Initialize all wxPGArrayEditorDialog members in ctor
Initialize members of wxPGArrayEditorDialog class in its Init() method to have just created object in well-defined state.
This commit is contained in:
@@ -2405,9 +2405,12 @@ wxPGArrayEditorDialog::wxPGArrayEditorDialog()
|
||||
|
||||
void wxPGArrayEditorDialog::Init()
|
||||
{
|
||||
m_elb = NULL;
|
||||
m_elbSubPanel = NULL;
|
||||
m_lastFocused = NULL;
|
||||
m_hasCustomNewAction = false;
|
||||
m_itemPendingAtIndex = -1;
|
||||
m_modified = false;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user