Initialize member variables

This commit is contained in:
Artur Wieczorek 2023-12-17 16:12:22 +01:00
parent 74bacb097f
commit 41109f64f0
2 changed files with 3 additions and 2 deletions

View file

@ -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.

View file

@ -564,6 +564,7 @@ public:
wxPGComboBox()
: wxOwnerDrawnComboBox()
, m_dclickProcessor(nullptr)
, m_selProp(nullptr)
{
}