#ifndef _WX_ICONBNDL_H_
#define _WX_ICONBNDL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "iconbndl.h"
#endif
-#include "dynarray.h"
+#include "wx/dynarray.h"
// for wxSize
#include "wx/gdicmn.h"
{
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(); }