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:
Artur Wieczorek
2018-12-22 12:07:12 +01:00
parent 8432726ba8
commit 686380c331

View File

@@ -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;
}
// -----------------------------------------------------------------------