1 \section{\class{wxStaticBitmap
}}\label{wxstaticbitmap
}
3 A static bitmap control displays a bitmap.
5 \wxheading{Derived from
}
7 \helpref{wxControl
}{wxcontrol
}\\
8 \helpref{wxWindow
}{wxwindow
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Window styles
}
14 There are no special styles for this control.
16 See also
\helpref{window styles overview
}{windowstyles
}.
20 \helpref{wxStaticBitmap
}{wxstaticbitmap
},
\helpref{wxStaticBox
}{wxstaticbox
}
24 The bitmap to be displayed should have a small number of colours, such as
16, to avoid
27 \latexignore{\rtfignore{\wxheading{Members
}}}
29 \membersection{wxStaticBitmap::wxStaticBitmap
}\label{wxstaticbitmapconstr
}
31 \func{}{wxStaticBitmap
}{\void}
35 \func{}{wxStaticBitmap
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{ id
},
\rtfsp
36 \param{const wxBitmap\&
}{label = ``"
},
\param{const wxPoint\&
}{pos
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
37 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBitmap"
}}
39 Constructor, creating and showing a text control.
41 \wxheading{Parameters
}
43 \docparam{parent
}{Parent window. Should not be NULL.
}
45 \docparam{id
}{Control identifier. A value of -
1 denotes a default value.
}
47 \docparam{label
}{Bitmap label.
}
49 \docparam{pos
}{Window position.
}
51 \docparam{size
}{Window size.
}
53 \docparam{style
}{Window style. See
\helpref{wxStaticBitmap
}{wxstaticbitmap
}.
}
55 \docparam{name
}{Window name.
}
59 \helpref{wxStaticBitmap::Create
}{wxstaticbitmapcreate
}
61 \membersection{wxStaticBitmap::Create
}\label{wxstaticbitmapcreate
}
63 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{ id
},
\rtfsp
64 \param{const wxBitmap\&
}{label = ``"
},
\param{const wxPoint\&
}{pos
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
65 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBitmap"
}}
67 Creation function, for two-step construction. For details see
\helpref{wxStaticBitmap::wxStaticBitmap
}{wxstaticbitmapconstr
}.
69 \membersection{wxStaticBitmap::GetBitmap
}\label{wxstaticbitmapgetbitmap
}
71 \constfunc{wxBitmap\&
}{GetBitmap
}{\void}
73 Returns a reference to the label bitmap.
77 \helpref{wxStaticBitmap::SetBitmap
}{wxstaticbitmapsetbitmap
}
79 \membersection{wxStaticBitmap::SetBitmap
}\label{wxstaticbitmapsetbitmap
}
81 \func{virtual void
}{SetBitmap
}{\param{const wxBitmap\&
}{ label
}}
83 Sets the bitmap label.
85 \wxheading{Parameters
}
87 \docparam{label
}{The new bitmap.
}
91 \docparam{wxStaticBitmap::GetBitmap
}{wxstaticbitmapgetbitmap
}