]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/imaglist.h
Many changes for wxInputHandler creation mainly related to:
[wxWidgets.git] / include / wx / msw / imaglist.h
index dce0618369ca127e5d458bd63f401d32e033a5ed..b2cedac507ca7a8f26f786715b19ffbe04935023 100644 (file)
 #ifndef _WX_IMAGLIST_H_
 #define _WX_IMAGLIST_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "imaglist.h"
-#endif
-
 #include "wx/bitmap.h"
 
 /*
@@ -66,7 +62,7 @@ public:
   {
     Create(width, height, mask, initialCount);
   }
-  ~wxImageList();
+  virtual ~wxImageList();
 
 
   // Attributes
@@ -130,6 +126,12 @@ public:
             int flags = wxIMAGELIST_DRAW_NORMAL,
             bool solidBackground = false);
 
+  // Get a bitmap
+  wxBitmap GetBitmap(int index) const;
+
+  // Get an icon
+  wxIcon GetIcon(int index) const;
+
   // TODO: miscellaneous functionality
 /*
   wxIcon *MakeIcon(int index);