X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32f96f742fe64db86a471c0f6186dbb4110e3d8e..82df67d960355e99a66b1db473b9d6236bf2fbb9:/include/wx/iconbndl.h diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index fa7dae30cd..e70715ff7a 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -32,16 +32,16 @@ class WXDLLEXPORT wxIconBundle { public: // default constructor - wxIconBundle() {} + wxIconBundle() : m_icons() {} // initializes the bundle with the icon(s) found in the file - wxIconBundle( const wxString& file, long type ) + wxIconBundle( const wxString& file, long type ) : m_icons() { AddIcon( file, type ); } // initializes the bundle with a single icon - wxIconBundle( const wxIcon& icon ) + wxIconBundle( const wxIcon& icon ) : m_icons() { AddIcon( icon ); } const wxIconBundle& operator =( const wxIconBundle& ic ); - wxIconBundle( const wxIconBundle& ic ) + wxIconBundle( const wxIconBundle& ic ) : m_icons() { *this = ic; } ~wxIconBundle() { DeleteIcons(); }