Add using declaration for ctors to generic wxImageList

Instead of explicitly forwarding the ctors to the base class manually,
just use them.
This commit is contained in:
Vadim Zeitlin 2023-11-03 01:37:55 +01:00
parent 0003ac6873
commit 3f971f52c1

View file

@ -81,12 +81,7 @@ class WXDLLIMPEXP_CORE wxImageList: public wxGenericImageList
wxDECLARE_DYNAMIC_CLASS(wxImageList);
public:
wxImageList() {}
wxImageList( int width, int height, bool mask = true, int initialCount = 1 )
: wxGenericImageList(width, height, mask, initialCount)
{
}
using wxGenericImageList::wxGenericImageList;
};
#endif // !wxHAS_NATIVE_IMAGELIST