};
+MustHaveApp(wxImageList);
+
// wxImageList is used for wxListCtrl, wxTreeCtrl. These controls refer to
// images for their items by an index into an image list.
// two bitmaps, or an icon.
class wxImageList : public wxObject {
public:
- wxImageList(int width, int height, int mask=TRUE, int initialCount=1);
+ wxImageList(int width, int height, int mask=True, int initialCount=1);
~wxImageList();
int Add(const wxBitmap& bitmap, const wxBitmap& mask = wxNullBitmap);
#endif
bool Draw(int index, wxDC& dc, int x, int x, int flags = wxIMAGELIST_DRAW_NORMAL,
- const bool solidBackground = FALSE);
+ const bool solidBackground = False);
int GetImageCount();
bool Remove(int index);
bool RemoveAll();
- void GetSize(int index, int& OUTPUT, int& OUTPUT);
+
+ DocDeclA(
+ void, GetSize(int index, int& OUTPUT, int& OUTPUT),
+ "GetSize() -> (width,height)");
+
};
//---------------------------------------------------------------------------