corrected warnings when compiling with -Wall -W

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-05-07 21:58:27 +00:00
parent 54380f29f0
commit d84afea9d1
87 changed files with 333 additions and 245 deletions

View File

@@ -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(); }