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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue