Use ctor-initializer rather than assignment for non-POD class members
This commit is contained in:
@@ -589,8 +589,8 @@ void wxPrintAbortDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
|
||||
wxIMPLEMENT_ABSTRACT_CLASS(wxPrintout, wxObject);
|
||||
|
||||
wxPrintout::wxPrintout(const wxString& title)
|
||||
: m_printoutTitle(title)
|
||||
{
|
||||
m_printoutTitle = title ;
|
||||
m_printoutDC = NULL;
|
||||
m_pageWidthMM = 0;
|
||||
m_pageHeightMM = 0;
|
||||
|
||||
Reference in New Issue
Block a user