wxImageList ctor now takes the same arguments as the MSW version (but it's

still not implemented)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-07-01 15:43:03 +00:00
parent 74bedbeb40
commit 0423b68518
2 changed files with 22 additions and 21 deletions

View File

@@ -46,17 +46,18 @@ class wxImageList: public wxObject
public:
wxImageList(void);
~wxImageList(void);
bool Create(void);
int GetImageCount(void) const;
wxImageList::wxImageList() { }
wxImageList(int width, int height, bool mask = TRUE, int initialCount = 1);
~wxImageList();
bool Create();
int GetImageCount() const;
int Add( const wxBitmap &bitmap );
bool Replace( const int index, const wxBitmap &bitmap );
bool Remove( const int index );
bool RemoveAll(void);
bool GetSize( const int index, int &width, int &height ) const;
bool Draw(const int index, wxDC& dc, const int x, const int y,
const int flags = wxIMAGELIST_DRAW_NORMAL, const bool solidBackground = FALSE );
bool Replace( int index, const wxBitmap &bitmap );
bool Remove( int index );
bool RemoveAll();
bool GetSize( int index, int &width, int &height ) const;
bool Draw(int index, wxDC& dc, int x, int y,
int flags = wxIMAGELIST_DRAW_NORMAL, const bool solidBackground = FALSE );
private: