Add wxBitmapBundle::FromImpl() and GetImpl()

For now they're only used internally but at least the latter will be
made public later.
This commit is contained in:
Vadim Zeitlin
2021-10-05 16:01:34 +01:00
parent 043461077e
commit ba6c691c22
2 changed files with 12 additions and 0 deletions

View File

@@ -244,6 +244,13 @@ wxBitmapBundle wxBitmapBundle::FromBitmaps(const wxVector<wxBitmap>& bitmaps)
return wxBitmapBundle(new wxBitmapBundleImplSet(bitmaps));
}
/* static */
wxBitmapBundle wxBitmapBundle::FromImpl(wxBitmapBundleImpl* impl)
{
return wxBitmapBundle(impl);
}
// MSW has its own, actually working, version, in MSW-specific code.
#ifndef __WXMSW__