Really fix example of creating wxBitmapBundle in hight DPI docs
Co-Authored-By: PB <PBfordev@gmail.com>
This commit is contained in:
parent
4a43ea8827
commit
ab94485efa
@ -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.
|
||||
~~~
|
||||
|
Loading…
Reference in New Issue
Block a user