A static bitmap control displays a bitmap. Native implementations on some platforms are only meant for display of the small icons in the dialog boxes.
If you want to display larger images portably, you may use generic implementation wxGenericStaticBitmap declared in <wx/generic/statbmpg.h>.
Notice that for the best results, the size of the control should be the same as the size of the image displayed in it, as happens by default if it's not resized explicitly. Otherwise, behaviour depends on the platform: under MSW, the bitmap is drawn centred inside the control, while elsewhere it is drawn at the origin of the control. You can use SetScaleMode() (not implemented in wx) to control how the image is scaled inside the control.
wxWidgets docs: wxStaticBitmap
new() -> wxStaticBitmap()
new(Parent, Id, Label) -> wxStaticBitmap()
new(Parent, Id, Label, Options :: [Option]) -> wxStaticBitmap()
Constructor, creating and showing a static bitmap control.
create(This, Parent, Id, Label) -> boolean()
create(This, Parent, Id, Label, Options :: [Option]) -> boolean()
Creation function, for two-step construction.
For details see new/4.
getBitmap(This) -> wxBitmap:wxBitmap()
Returns the bitmap currently used in the control.
Notice that this method can be called even if SetIcon() (not implemented in wx) had been used.
setBitmap(This, Label) -> ok
Sets the bitmap label.
destroy(This :: wxStaticBitmap()) -> ok
Destroys the object.