X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..27d2dbbccadf25bb1d892fe1c4afbf74cf76bb36:/include/wx/generic/imaglist.h diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index 3eef4e40cc..692302e433 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -57,9 +57,9 @@ class WXDLLEXPORT wxGenericImageList: public wxObject { public: wxGenericImageList() { m_width = m_height = 0; } - wxGenericImageList( int width, int height, bool mask = TRUE, int initialCount = 1 ); + wxGenericImageList( int width, int height, bool mask = true, int initialCount = 1 ); ~wxGenericImageList(); - bool Create( int width, int height, bool mask = TRUE, int initialCount = 1 ); + bool Create( int width, int height, bool mask = true, int initialCount = 1 ); bool Create(); virtual int GetImageCount() const; @@ -75,7 +75,7 @@ public: virtual bool Draw(int index, wxDC& dc, int x, int y, int flags = wxIMAGELIST_DRAW_NORMAL, - bool solidBackground = FALSE); + bool solidBackground = false); private: wxList m_images; @@ -99,7 +99,7 @@ class WXDLLEXPORT wxImageList: public wxGenericImageList public: wxImageList() {} - wxImageList( int width, int height, bool mask = TRUE, int initialCount = 1 ) + wxImageList( int width, int height, bool mask = true, int initialCount = 1 ) : wxGenericImageList(width, height, mask, initialCount) { }