Really fix example of creating wxBitmapBundle in hight DPI docs

Co-Authored-By: PB <PBfordev@gmail.com>
This commit is contained in:
Vadim Zeitlin 2022-01-18 19:08:50 +01:00
parent 4a43ea8827
commit ab94485efa

View File

@ -207,7 +207,7 @@ used rather than having to construct a vector from them:
wxBitmap normal(32, 32);
wxBitmap highDPI(64, 64);
... initialize the bitmaps somehow ...
wxBitmapBundle bundle = wxBitmapBundle::FromBitmaps(normal, bitmap);
wxBitmapBundle bundle = wxBitmapBundle::FromBitmaps(normal, highDPI);
// Now the bundle can be passed to any wxWidgets control using bitmaps.
~~~