Really fix example of creating wxBitmapBundle in hight DPI docs
Co-Authored-By: PB <PBfordev@gmail.com>
This commit is contained in:
@@ -207,7 +207,7 @@ used rather than having to construct a vector from them:
|
|||||||
wxBitmap normal(32, 32);
|
wxBitmap normal(32, 32);
|
||||||
wxBitmap highDPI(64, 64);
|
wxBitmap highDPI(64, 64);
|
||||||
... initialize the bitmaps somehow ...
|
... 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.
|
// Now the bundle can be passed to any wxWidgets control using bitmaps.
|
||||||
~~~
|
~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user