Use ctor-initializer rather than assignment for non-POD class members
This commit is contained in:
parent
8df0cfba2a
commit
7c3ce912e0
59 changed files with 150 additions and 177 deletions
|
|
@ -69,10 +69,10 @@ public:
|
|||
wxAuiToolBarEvent(wxEventType commandType = wxEVT_NULL,
|
||||
int winId = 0)
|
||||
: wxNotifyEvent(commandType, winId)
|
||||
, m_clickPt(-1, -1)
|
||||
, m_rect(-1, -1, 0, 0)
|
||||
{
|
||||
m_isDropdownClicked = false;
|
||||
m_clickPt = wxPoint(-1, -1);
|
||||
m_rect = wxRect(-1,-1, 0, 0);
|
||||
m_toolId = -1;
|
||||
}
|
||||
wxEvent *Clone() const wxOVERRIDE { return new wxAuiToolBarEvent(*this); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue