]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/iconbndl.h
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possib...
[wxWidgets.git] / include / wx / iconbndl.h
index e7db074bad1bcd5c14ad390883a9632a65c8b09c..f32db6f3e3ad48bc5cd03dc3904dee41a067c4c8 100644 (file)
@@ -17,6 +17,8 @@
 #include "wx/gdicmn.h"
 #include "wx/icon.h"
 
+#include "wx/dynarray.h"
+
 WX_DECLARE_EXPORTED_OBJARRAY(wxIcon, wxIconArray);
 
 // this class can't load bitmaps of type wxBITMAP_TYPE_ICO_RESOURCE,
@@ -80,7 +82,7 @@ public:
         }
     )
 
-    wxDEPRECATED( wxIconBundle(const wxString& file, long type)
+    wxDEPRECATED_CONSTRUCTOR( wxIconBundle (const wxString& file, long type)
         {
             AddIcon(file, (wxBitmapType)type);
         }