Initialize member variables
This commit is contained in:
parent
74bacb097f
commit
41109f64f0
2 changed files with 3 additions and 2 deletions
|
|
@ -729,10 +729,10 @@ public:
|
|||
|
||||
// Simple interface constructor.
|
||||
wxPGChoices( wxPGChoicesData* data )
|
||||
: m_data(data)
|
||||
{
|
||||
wxCHECK_RET(data, "Data pointer cannot be null");
|
||||
m_data = data;
|
||||
data->IncRef();
|
||||
m_data->IncRef();
|
||||
}
|
||||
|
||||
// Destructor.
|
||||
|
|
|
|||
|
|
@ -564,6 +564,7 @@ public:
|
|||
wxPGComboBox()
|
||||
: wxOwnerDrawnComboBox()
|
||||
, m_dclickProcessor(nullptr)
|
||||
, m_selProp(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue