Initialize data members in initialization lists
This commit is contained in:
parent
950f3ff34f
commit
1c292cfe2c
11 changed files with 57 additions and 64 deletions
|
|
@ -334,8 +334,8 @@ public:
|
|||
|
||||
wxPGCommonValue( const wxString& label, wxPGCellRenderer* renderer )
|
||||
: m_label(label)
|
||||
, m_renderer(renderer)
|
||||
{
|
||||
m_renderer = renderer;
|
||||
renderer->IncRef();
|
||||
}
|
||||
virtual ~wxPGCommonValue()
|
||||
|
|
@ -408,9 +408,9 @@ class WXDLLIMPEXP_PROPGRID wxPGValidationInfo
|
|||
friend class wxPropertyGrid;
|
||||
public:
|
||||
wxPGValidationInfo()
|
||||
: m_failureBehavior(0)
|
||||
, m_isFailing(false)
|
||||
{
|
||||
m_failureBehavior = 0;
|
||||
m_isFailing = false;
|
||||
}
|
||||
|
||||
~wxPGValidationInfo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue